August 2018
Intermediate to advanced
352 pages
12h 30m
English
We can start a container using either of the following syntaxes:
docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
docker container run [OPTIONS] IMAGE [COMMAND] [ARG...]
Here is an example of using the docker container run command:
$ docker container run -i -t --name mycontainer ubuntu /bin/bash
By default, Docker picks the image with the latest tag:
Read now
Unlock full access