docs: update create usage

Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
Luca Di Maio
2023-04-06 23:01:44 +02:00
parent f66b12ca5a
commit f03dcc120a
2 changed files with 73 additions and 63 deletions
+6
View File
@@ -34,6 +34,8 @@ graphical apps (X11/Wayland), and audio.
--init/-I: use init system (like systemd) inside the container.
this will make host's processes not visible from within the container.
--nvidia: try to integrate host's nVidia drivers in the guest
--unshare-netns: do not share the net namespace with host
--unshare-ipc: do not share ipc namemspace with host
--compatibility/-C: show list of compatible images
--help/-h: show this message
--no-entry: do not generate a container entry in the application list
@@ -94,6 +96,10 @@ Use environment variables to specify container name, image and container manager
DBX_CONTAINER_MANAGER="docker" DBX_NON_INTERACTIVE=1 DBX_CONTAINER_NAME=test-alpine DBX_CONTAINER_IMAGE=alpine distrobox-create
Do not use host's IP inside the container:
distrobox create --image ubuntu:latest --name test --unshare-netns
# ENVIRONMENT VARIABLES
DBX_CONTAINER_ALWAYS_PULL
+67 -63
View File
@@ -1,65 +1,69 @@
[ generic1]
unshare_netns=true
unshare_ipc=true
[generic2]
additional_packages="git vim tmux"
[generic3]
additional_packages="git vim tmux"
home=/tmp/home
[alpine3]
additional_packages=git vim tmux nodejs
home=/tmp/home
image=alpine:latest
[alpine4]
additional_packages=git vim tmux nodejs
home=/tmp/home
image=alpine:latest
init=false
[debian5]
additional_packages=git vim tmux nodejs
home=/tmp/home
image=debian:latest
init=false
init_hooks="touch /init-normal"
[ubi6]
additional_packages=git vim tmux nodejs
home=/tmp/home
image=registry.access.redhat.com/ubi9/ubi-init
init=true
init_hooks="touch /init-normal"
pre_init_hooks="touch /pre-init"
[opensuse7]
additional_packages=git vim tmux nodejs
home=/tmp/home
image=opensuse/tumbleweed:latest
init=true
init_hooks="touch /init-normal"
pre_init_hooks="touch /pre-init"
pull=true
[alma8]
additional_packages=git vim tmux nodejs
home=/tmp/home
image=quay.io/almalinux/8-init:8
init=true
init_hooks="touch /init-normal"
pre_init_hooks="touch /pre-init"
pull=true
root=false
[arch]
additional_packages=git vim tmux nodejs
home=/tmp/home
image=archlinux:latest
init=false
init_hooks="touch /init-normal"
pre_init_hooks="touch /pre-init"
pull=true
root=false
volume=/tmp/test:/run/a /tmp/test:/run/b
#[generic2]
#additional_packages="git vim tmux"
#
#[generic3]
#additional_packages="git vim tmux"
#home=/tmp/home
#
#[alpine3]
#additional_packages=git vim tmux nodejs
#home=/tmp/home
#image=alpine:latest
#
#[alpine4]
#additional_packages=git vim tmux nodejs
#home=/tmp/home
#image=alpine:latest
#init=false
#
#[debian5]
#additional_packages=git vim tmux nodejs
#home=/tmp/home
#image=debian:latest
#init=false
#init_hooks="touch /init-normal"
#
#[ubi6]
#additional_packages=git vim tmux nodejs
#home=/tmp/home
#image=registry.access.redhat.com/ubi9/ubi-init
#init=true
#init_hooks="touch /init-normal"
#pre_init_hooks="touch /pre-init"
#
#[opensuse7]
#additional_packages=git vim tmux nodejs
#home=/tmp/home
#image=opensuse/tumbleweed:latest
#init=true
#init_hooks="touch /init-normal"
#pre_init_hooks="touch /pre-init"
#pull=true
#
#
#[alma8]
#additional_packages=git vim tmux nodejs
#home=/tmp/home
#image=quay.io/almalinux/8-init:8
#init=true
#init_hooks="touch /init-normal"
#pre_init_hooks="touch /pre-init"
#pull=true
#root=false
#
#[arch]
#additional_packages=git vim tmux nodejs
#home=/tmp/home
#image=archlinux:latest
#init=false
#init_hooks="touch /init-normal"
#pre_init_hooks="touch /pre-init"
#pull=true
#root=false
#volume=/tmp/test:/run/a /tmp/test:/run/b
#unshare_netns=true
#unshare_ipc=true