mirror of
https://github.com/89luca89/distrobox.git
synced 2026-08-19 01:14:49 -05:00
docs: update create usage
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user