Difference between revisions of "Docker run"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
=== Runtime constraints on resources ===
 
=== Runtime constraints on resources ===
 
* <code>-m --memory=""</code>
 
* <code>-m --memory=""</code>
 +
* <code>--[[oom]]-kill-disable=false</code> Whether to disable OOM Killer for the container or not.
 
* <code>--cpus=0.000</code>
 
* <code>--cpus=0.000</code>
 
   
 
   

Revision as of 06:20, 7 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

See also

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