...
Running an image will pull it if necessary, create a container from it, and start the new container with the given arguments.
Code Block | ||
---|---|---|
| ||
docker pull nginx
docker run -p 80:80 nginx |
Commit any Necessary Changes
...
This is, by far, the easiest way that I've found to distribute pre-package distributable code.
Building Custom Docker Images
...