docker run -d

From wikieduonline
(Redirected from Dettach)
Jump to navigation Jump to search

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: