Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.1.5 (Dev) #63

Merged
merged 9 commits into from
Oct 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/assets/troubleshooting/dd_shrink.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 10 additions & 1 deletion source/community/contributors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ When installing a tool, depending on how it gets installed, here are the rules.
* Most tools are installed either in their own directory in ``/opt/tools/`` or have the binary (or a symlink) in ``/opt/tools/bin/``.
* Disk space being limited, we're not pulling every code source around. When possible, add the ``--depth 1`` option to your usual ``git clone`` command.

To manage tool versions, we use ``asdf`` (`asdf-vm/asdf <https://github.com/asdf-vm/asdf>`_), a version management tool that allows the installation and management of multiple versions of various programming languages and tools across different projects. ``asdf`` uses a system of shims to ensure that the correct version of a tool is used based on your project's configuration. Currently, on Exegol, asdf only manages the ``Go`` programming language (``golang``).


.. tabs::

.. tab:: Python sources (pipx)
Expand Down Expand Up @@ -153,8 +156,14 @@ When installing a tool, depending on how it gets installed, here are the rules.
The package you want to install needs to be added there, along with the ``add-history``, ``add-test-command`` and ``add-to-list`` instructions.

.. tab:: Go
If you choose to install a new golang tool in your container using the ``go install -v github.com/AUTHOR/REPO@latest`` command, you will need to follow it up with the ``asdf reshim golang`` command. This additional step is necessary for asdf to recognize and integrate the newly installed tool into the environment.

.. code-block:: bash

go install -v github.com/patrickhener/goshs@latest
asdf reshim golang
goshs --help

Go tools can be installed with a standard ``go install -v github.com/AUTHOR/REPO@latest`` command.

.. tab:: Ruby

Expand Down
21 changes: 0 additions & 21 deletions source/community/sponsors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,6 @@
Sponsors
========

.. image:: /assets/sponsors/capgemini.png
:align: center
:width: 300px
:alt: Capgemini logo

|

Dramelac and I work at `Capgemini <https://www.capgemini.com/>`_ and we thank them for believing in the project since day 1, and for allowing us to have this personal initiative keep going.

|

.. image:: /assets/sponsors/hackthebox.png
:align: center
:width: 300px
:alt: HackTheBox logo

|

We thank **HackTheBox** for continuously supporting the community and for helping us financially to acquire the necessary hardware for supporting multiple architectures (AMD64, ARM64). Show some love at https://www.hackthebox.com/ !


.. image:: https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png
:align: center
:width: 200px
Expand Down
2 changes: 2 additions & 0 deletions source/getting-started/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ Additional dependencies may be required depending on the host OS.
If you install Exegol from the python pip package, this folder is located where the python packages are installed.
The path to this folder depends on how you installed python. When creating your first container, you may get an error disclosing the exegol installation folder, which will have to be added as an authorized resource.

By default, you can try to add the path: ``/Library/Frameworks/Python.framework`` to the Docker Desktop File sharing allowlist.


.. tip::

Expand Down
28 changes: 28 additions & 0 deletions source/getting-started/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,34 @@ Docker image downloads may be time-sensitive. In the case of dual-boot systems,

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``.

.. image:: /assets/troubleshooting/dd_default_disk_size.png
:align: center
:alt: Docker Desktop default disk size

.. raw:: html

<br>

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.

.. image:: /assets/troubleshooting/dd_shrink.png
:align: center
:alt: Docker Desktop shrink disk image


How to fix CRLF errors on Windows
=================================

Expand Down