diff --git a/docs/README.md b/docs/README.md index c5917a67de..0c0b170024 100644 --- a/docs/README.md +++ b/docs/README.md @@ -102,6 +102,7 @@ graphical apps (X11/Wayland), and audio. - [Pre-installing additional package repositories](useful_tips.md#pre-installing-additional-package-repositories) - [Apply resource limitation on the fly](useful_tips.md#apply-resource-limitation-on-the-fly) - [Posts](posts/posts.md) + - [Create a dedicated distrobox container](posts/distrobox_custom.md) - [Execute a command on the Host](posts/execute_commands_on_host.md) - [Install Podman in HOME](posts/install_podman_static.md) - [Install on Steamdeck](posts/steamdeck_guide.md) diff --git a/docs/compatibility.md b/docs/compatibility.md index 79c62e7ef4..ebb9146e3f 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -188,7 +188,7 @@ A work around this is to use the `vsyscall=emulate` flag in the bootloader of th host. Keep also in mind that mirrors could be down for such old releases, so you will -need to build a [custom distrobox image to ensure basic dependencies are met](./distrobox_custom.md). +need to build a [custom distrobox image to ensure basic dependencies are met](./posts/distrobox_custom.md). ### GPU Acceleration support diff --git a/docs/distrobox_gentoo.md b/docs/distrobox_gentoo.md deleted file mode 100644 index a475d182bc..0000000000 --- a/docs/distrobox_gentoo.md +++ /dev/null @@ -1,35 +0,0 @@ -- [Distrobox](README.md) - - [Useful tips](useful_tips.md) - ---- - -# Gentoo as a distrobox container - -## Image - -You need to build your own image. The official resource is [here](https://github.com/gentoo/gentoo-docker-images#using-the-portage-container-in-a-multi-stage-build) -but here is a simple Dockerfile: - -``` Dockerfile -FROM registry.hub.docker.com/gentoo/portage:latest as portage -FROM registry.hub.docker.com/gentoo/stage3:systemd -COPY --from=portage /var/db/repos/gentoo /var/db/repos/gentoo -``` - -Build it using either podman or docker: - -```shell -podman build . -t gentoo-distrobox -``` - -or - -```shell -docker build . -t gentoo-distrobox -``` - -and it's ready to be used: - -```shell -distrobox create --image localhost/gentoo-distrobox:latest -``` diff --git a/docs/distrobox_custom.md b/docs/posts/distrobox_custom.md similarity index 97% rename from docs/distrobox_custom.md rename to docs/posts/distrobox_custom.md index 51c8162542..951b73e17c 100644 --- a/docs/distrobox_custom.md +++ b/docs/posts/distrobox_custom.md @@ -1,5 +1,4 @@ - [Distrobox](README.md) - - [Useful tips](useful_tips.md) ---