docker run

2019-02-21  本文已影响0人  HiSea

Command

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

上一篇下一篇

猜你喜欢

热点阅读