docker run
2019-02-21 本文已影响0人
HiSea
Run a command in a new container
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
-d, --detach
Run container in background and print container ID
-e, --env list
Set environment variables
-p, --publish list
Publish a container's port(s) to the host
-v, --volume list
Bind mount a volume