Difference between revisions of "Docker run -d"
Jump to navigation
Jump to search
(18 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | [[docker run]] -d # [[dettach]] | ||
+ | |||
+ | [[docker run -d --publish]] | ||
+ | [[docker run -d --privileged]] | ||
[[docker run -it]] ubuntu | [[docker run -it]] ubuntu | ||
+ | |||
+ | [[docker run -d -p 3478:3478 -p 3478:3478/udp -p 5349:5349 -p 5349:5349/udp -p 49152-65535:49152-65535/udp coturn/coturn]] | ||
+ | |||
+ | [[docker run]] -d -p 5000:5000 --name [[registry]] registry:2 | ||
+ | |||
+ | [[docker run -d -p 80:80 php:apache]] | ||
+ | docker run -d --publish 80:80 --name [[php-apache]] php-apache | ||
+ | |||
+ | |||
+ | sudo [[docker run -d --privileged]] --restart=unless-stopped --net=host -v [[/etc/kubernetes]]:/etc/kubernetes -v [[/var/run]]:/var/run [[rancher]]/[[rancher-agent]]:v2.6.6 --server https://your-server [[--token]] your-tocketn [[--ca-checksum]] 1234567890 [[--worker]] | ||
Line 10: | Line 24: | ||
ERRO[0000] error waiting for container: [[context canceled]] | ERRO[0000] error waiting for container: [[context canceled]] | ||
+ | == Related == | ||
+ | * [[docker run -p]], [[--publish]] | ||
+ | * [[&]] | ||
+ | * [[Background]] | ||
== See also == | == See also == | ||
+ | * {{docker run -d}} | ||
* {{docker run}} | * {{docker run}} | ||
+ | |||
+ | [[Category:Docker]] |
Latest revision as of 09:58, 21 March 2024
docker run -d # dettach
docker run -d --publish docker run -d --privileged
docker run -it ubuntu
docker run -d -p 3478:3478 -p 3478:3478/udp -p 5349:5349 -p 5349:5349/udp -p 49152-65535:49152-65535/udp coturn/coturn
docker run -d -p 5000:5000 --name registry registry:2
docker run -d -p 80:80 php:apache docker run -d --publish 80:80 --name php-apache php-apache
sudo docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run rancher/rancher-agent:v2.6.6 --server https://your-server --token your-tocketn --ca-checksum 1234567890 --worker
docker run ubuntu -d docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "-d": executable file not found in $PATH: unknown. ERRO[0000] error waiting for container: context canceled
Related[edit]
See also[edit]
Advertising: