Troubleshooting

Here are the most common problems encountered when installing and using Exegol.

Unable to connect to Docker

There are multiple checks to do to make sure Docker works properly.

The Docker service must installed up and running.

  • For Windows users: Docker Desktop for Windows must be up and running.

  • For macOS users: Docker Desktop for Mac (or OrbStack) must be up and running.

How do I get X11 to work on a non-Linux host?

X11, or X Window System, is a graphical windowing system that provides a framework for creating and managing graphical user interfaces (GUIs) in Unix-like operating systems.

X11 sharing between an Exegol container and a host allows a graphical application running within the container to display its GUI on the host’s X11 server. This means you can run graphical applications in Exegol containers and have them appear as if they were running directly on the host machine. It enables the execution of GUI-based applications in isolated containers while interacting with them through the host’s graphical interface.

For macOS users, XQuartz is needed. It’s listed in the install requirements.

Note

Exegol’s wrapper automatically starts XQuartz on macOS hosts when needed. But if for some reason it gets manually closed by the users while a container is running, X11 sharing will not work. Restarting the container with exegol restart <container> will restart XQuartz automatically if needed.

How to fix Docker download error: unauthorized: authentication required

Docker image downloads may be time-sensitive. In the case of dual-boot systems, it is common to experience time lags of a few hours.

To correct the problem, check that your computer’s date and time are correct.

How to fix Docker download error: no space left on device

Docker Desktop is a tool used for running Docker containers on Windows and macOS. However, it uses a virtual disk to store Docker images, containers, and volumes. The virtual disk used by Docker Desktop is not dynamic; it has a fixed size, which by default is set to 64GB.

Docker Desktop default disk size

Exegol images can be quite large, with some reaching over 50GB. This can quickly exceed the available virtual disk space, even if your physical disk still has free space. To resolve this issue, you need to allocate more space to the Docker Desktop virtual disk.

To increase the virtual disk size, open Docker Desktop and go to Settings -> Resources -> Advanced. Locate the Virtual disk limit option and increase the allocated size. Make sure to choose a value that provides enough space for your images and containers, such as 128GB or more depending on your needs.

Apply the changes and then restart Docker Desktop to ensure the new configuration takes effect.

Warning

If you decide to reduce the size of the virtual disk, be aware that Docker Desktop will completely delete the virtual disk image. This action will remove all Docker images, containers, and volumes stored on the disk. Therefore, before reducing the disk size, make sure to back up any important data or export your Docker images to avoid data loss.

Docker Desktop shrink disk image

How to fix CRLF errors on Windows

If you have cloned the Exegol repository on Windows, you may encounter errors when launching your container, for example:

/.exegol/entrypoint.sh: line 3: trap: SIGTERM
: invalid signal specification
/.exegol/entrypoint.sh: line 4: $'\r': command not found
/.exegol/entrypoint.sh: line 5: syntax error near unexpected token $'{\r''
/.exegol/entrypoint.sh: line 5: function exegol_init() {

This is caused by the automatic addition of CRLF linefeed by Windows to ensure compatibility. To correct this problem, simply disable this feature on the Exegol repository and reload the file of the repository:

cd ./Exegol
git config core.autocrlf false
git rm -rf --cached .
git reset --hard HEAD