May 2017
Beginner
552 pages
28h 47m
English
The docker run command starts a process in a container. Commonly, the process is a bash shell that allows you to attach to the container and start other processes. This command returns a hash value that defines this session.
When a Docker container starts, a network connection is created for it automatically.
The syntax for the run command is as follows:
docker run [OPTIONS] CONTAINER COMMAND
The docker run command supports many options, including:
This example starts the bash shell in the container that was ...