docker run

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

你可能感兴趣的:(docker run)