Difference between revisions of "Docker run"
Jump to navigation
Jump to search
↑ https://docs.docker.com/engine/reference/run/
(# Understand Start configuration behavior and restart policy) |
|||
Line 14: | Line 14: | ||
== Activities == | == Activities == | ||
# Understand the difference between <code>[[docker start]]</code> and <code>[[docker run]]</code>: https://stackoverflow.com/questions/34782678/difference-between-running-and-starting-a-docker-container. See also [[runC]] | # Understand the difference between <code>[[docker start]]</code> and <code>[[docker run]]</code>: https://stackoverflow.com/questions/34782678/difference-between-running-and-starting-a-docker-container. See also [[runC]] | ||
+ | # Understand [[Start configuration behavior and restart policy]] | ||
== See also == | == See also == |
Revision as of 16:28, 15 January 2020
docker run[1] IMAGE|IMAGE_ID
- -e (Environment variables)
- -d detach
- --link (deprecated) (See also: Kibana/Install Kibana using docker)
Runtime constraints on resources
-m --memory=""
--oom-kill-disable=false
Whether to disable OOM Killer for the container or not.--cpus=0.000
Activities
- Understand the difference between
docker start
anddocker run
: https://stackoverflow.com/questions/34782678/difference-between-running-and-starting-a-docker-container. See also runC - Understand Start configuration behavior and restart policy
See also
Advertising: