Difference between revisions of "Docker run -d"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
  [[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 3478:3478 -p 3478:3478/udp -p 5349:5349 -p 5349:5349/udp -p 49152-65535:49152-65535/udp coturn/coturn]]
  
 +
 +
 +
 +
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]]
  
  

Revision as of 10:44, 14 September 2023

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



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


See also

Advertising: