mirror of
https://github.com/89luca89/distrobox.git
synced 2026-08-19 01:14:49 -05:00
docs: document new additional-packages flag
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
tags
|
||||
*.vim
|
||||
|
||||
@@ -142,6 +142,7 @@ Usage:
|
||||
distrobox create --image alpine my-alpine-container
|
||||
distrobox create --image registry.fedoraproject.org/fedora-toolbox:35 --name fedora-toolbox-35
|
||||
distrobox create --pull --image centos:stream9 --home ~/distrobox/centos9
|
||||
distrobox create --image alpine:latest --name test2 --additional-packages "git tmux vim"
|
||||
|
||||
DBX_NON_INTERACTIVE=1 DBX_CONTAINER_NAME=test-alpine DBX_CONTAINER_IMAGE=alpine distrobox-create
|
||||
|
||||
|
||||
@@ -54,6 +54,7 @@ Options:
|
||||
--group/-g: gid of the user
|
||||
--home/-d: path/to/home of the user
|
||||
--help/-h: show this message
|
||||
--additional-packages: packages to install in addition
|
||||
--init/-I: whether to use or not init
|
||||
--pre-init-hooks: commands to execute prior to init
|
||||
--upgrade/-U: run init in upgrade mode
|
||||
|
||||
@@ -28,6 +28,7 @@ graphical apps (X11/Wayland), and audio.
|
||||
--home/-H select a custom HOME directory for the container. Useful to avoid host's home littering with temp files.
|
||||
--volume additional volumes to add to the container
|
||||
--additional-flags/-a: additional flags to pass to the container manager command
|
||||
--additional-packages/-ap: additional packages to install during initial container setup
|
||||
--init-hooks additional commands to execute during container initialization
|
||||
--pre-init-hooks additional commands to execute prior to container initialization
|
||||
--init/-I use init system (like systemd) inside the container.
|
||||
@@ -56,6 +57,7 @@ graphical apps (X11/Wayland), and audio.
|
||||
distrobox create --image alpine my-alpine-container
|
||||
distrobox create --image registry.fedoraproject.org/fedora-toolbox:35 --name fedora-toolbox-35
|
||||
distrobox create --pull --image centos:stream9 --home ~/distrobox/centos9
|
||||
distrobox create --image alpine:latest --name test2 --additional-packages "git tmux vim"
|
||||
|
||||
You can also use environment variables to specify container name, image and container manager:
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@ integration.
|
||||
--group/-g: gid of the user
|
||||
--home/-d: path/to/home of the user
|
||||
--help/-h: show this message
|
||||
--additional-packages: packages to install in addition
|
||||
--init/-I: whether to use or not init
|
||||
--pre-init-hooks: commands to execute prior to init
|
||||
--upgrade/-U: run init in upgrade mode
|
||||
|
||||
Reference in New Issue
Block a user