More on Docker Run
- DockerHub containers are in the form
<user>/<name>
(alexkgold/plumber
)- You can tag an image with a version number
user>/<name>:<version>
- You can tag an image with a version number
--rm
to remove the container on kill (probably not for production)-d
run in detached mode so the terminal is free for other uses-p <host>:<container>
publishes a port from inside the container to outside--name
to assign a name of your choice-v <outside/directory>:<inside/directory>
to expose a directory${PWD}
is your project directory