Difference between revisions of "Docker run"

From wikieduonline
Jump to navigation Jump to search
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

  1. Understand the difference between docker start and docker run: https://stackoverflow.com/questions/34782678/difference-between-running-and-starting-a-docker-container. See also runC
  2. Understand Start configuration behavior and restart policy

See also

  • https://docs.docker.com/engine/reference/run/
  • Advertising: