[LINUX] docker run --help Japanese translation
docker run --help
Japanese translation of the document displayed at run time.
how to use:
docker run [OPTIONS] IMAGE [COMMAND] [ARG ...]
Run the command in the new container
option:
- --add-host list
Add a custom host-to-IP mapping (
host: ip
)
- -a, -attach list
Connect to STDIN, STDOUT, or STDERR
- --blkio-weight uint16
Block IO (relative weight), 10 to 1000, or 0 to disable (default is 0)
- --blkio-weight-device list
Block IO weights (relative weights of devices) (default is
[]
)
- --cap-add list
Add Linux features
- --cap-drop list
Linux feature removal
- --cgroup-parent string
Optional parent cgroup of the container
- --cidfile string
Write the container ID to a file
- --cpu-period int
CPU CFS (Completely Fair Scheduler) Period Limit
- --cpu-quota int
Limit CPU CFS (Completely Fair Scheduler) allocation
- --cpu-rt-period int
Limit the real-time duration of the CPU in microseconds
- --cpu-rt-runtime int
Limit the CPU real-time runtime in microseconds
- -c, -cpu-shares int
CPU share (relative weight)
- --cpus decimal
Number of CPUs
- --cpuset-cpus string
CPUs allowed to execute (0-3, 0, 1)
- --cpuset-mems string
MEM (0-3, 0, 1) to allow execution
- -d, -detach
Run the container in the background and display the container ID
- --detach-keys string
Override the key sequence to detach the container
- --device list
Add a host device to the container
- --device-cgroup-rule list
Add the rule to the cgroup allowed device list
- --device-read-bps list
Limits the read speed from the device (bytes per second) (default is
[]
)
- --device-read-iops list
Limit the read speed from the device (IO per second) (default is
[]
)
- --device-write-bps list
Limits the write speed to the device (bytes per second) (default is
[]
)
- --device-write-iops list
Limits the write speed to the device (IO per second) (default is
[]
)
- --disable-content-trust
Skip image verification (default is true)
- --dns list
Set up a custom DNS server
- --dns-option list
Set DNS options
- --dns-search list
Set up a custom DNS search domain
- --domainname string
Container NIS main name
- --entrypoint string
Override the image's default ENTRYPOINT
- -e, -env list
Set environment variables
- --env-file list
Read the environment variable file
- --expose list
Expose a port or range of ports
- --gpus gpu-request
GPU device to add to the container (`ʻall`` to pass all GPUs)
- --group-add list
Add more groups to join
- --health-cmd string
Command to run to check the health of the container
- --health-interval duration
Check execution interval(
ms
| s
| m
| h
)(The default is0s
)
- --health-retries int
Specify the number of consecutive failures required to report an anomaly
- --health-start-period duration
health-retries countdown(
ms
| s
| m
| h
)Start period to initialize the container before starting(The default is0s
)
- --health-timeout duration
Maximum time allowed to perform one check(
ms
| s
| m
| h
)(The default is0s
)
- --help
Display usage.
- -h, --hostname string
Container host name
- --init
Perform initialization inside the container that forwards the signal and gets the process
- -i, -interactive
Keep STDIN open even when not connected
- --ip string
IPv4 address (for example, 172.30.100.104)
- --ip6 string
IPv6 address (eg 2001: db8 :: 33)
- --ipc string
IPC mode to use
- --isolation string
Container isolation technology
- --kernel-memory bytes
Kernel memory limit
- -l, --label list
Set metadata for container
- --label-file list
Read the list of labels from the file.
List labels with line breaks.
- --link list
Add link to another container
- --link-local-ip list
Container IPv4 / IPv6 link local address
- --log-driver string
Container logging driver
- --log-opt list
Log driver options
- --mac-address string
MAC address of the container (eg 92: d0: c6: 0a: 29: 33)
- -m, --memory bytes
Memory limit
- --memory-reservation bytes
Memory soft limit
- --memory-swap bytes
Swap limit equals memory + swap:
-1
enables unlimited swap
- --memory-swappiness int
Adjust container memory swappiness (0 to 100) (default is -1)
- --mount mount
Add a file system mount to the container
- --name string
Assign a name to the container
- --network network
Connect the container to the network
- --network-alias list
Add an alias for the container's network scope
- --no-healthcheck
Disable container-specified health check
- --oom-kill-disable
Disable OOM Killer
- --oom-score-adj int
Adjust host OOM settings (-1000 to 1000)
- --pid string
PID namespace to use
- --pids-limit int
Adjust container PID limit (set to -1 for unlimited)
- --platform string
Set platform if server is multi-platform capable
- --privileged
Give the container extended privileges
- -p, --publish list
Expose the container port to the host
- -P, --publish-all
Publish all public ports to random ports
- --read-only
Mount the container's root file system as read-only
- --restart string
Restart policy applied when the container is closed (default is
no
)
- --rm
Automatically delete the container on exit
- --runtime string
Runtime to use for container
- --security-opt list
Security options
- --shm-size bytes
Size of
/ dev / shm
- --sig-proxy
Proxy receive signal to process (default is true)
- --stop-signal string
Signal to stop container (default is
15
)
- --stop-timeout int
Time-out period (in seconds) to stop the container
- --storage-opt list
Container storage driver options
- --sysctl map
Sysctl option (default map
[]
)
- --tmpfs list
Mount the tmpfs directory
- -t, --tty
Assign a pseudo TTY
- --ulimit ulimit
Ulimit option (default
[]
)
- -u, -user string
Username or UID(format: :
<name|uid>[:<group|gid>]
)
- --userns string
User namespace to use
- --uts string
UTS namespace to use
- -v, --volume list
Bind mount the volume
- --volume-driver string
Optional volume driver for the container
- --volumes-from list
Mount the volume from the specified container
- -w, --workdir string
Working directory in the container