August 2018
Intermediate to advanced
352 pages
12h 30m
English
Look at the help option of docker container run:
$ docker container run --help
You can find help at Docker's website here: https://docs.docker.com/engine/reference/commandline/conconcon_run/, https://docs.docker.com/engine/reference/run/#restart-policies-restart.
Docker's documentation on starting containers automatically can be found here: https://docs.docker.com/engine/admin/start-containers-automatically/.
If restart policies do not meet your requirements, then use process managers such as systemd, supervisor, or upstart.
Read now
Unlock full access