Difference between revisions of "Docker run -d --privileged"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
  
  [[docker run]] -d --privileged
+
  [[docker run -d]] [[--privileged]]
 +
 +
sudo [[docker run -d]] --privileged --name [[rancher]] --restart=unless-stopped -p 80:80 -v /home/ubuntu/rancher:/var/lib/rancher rancher/rancher:latest
 +
 
 +
 
 +
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
  
 
== See also ==
 
== See also ==
 +
* {{Rancher}}
 
* {{docker run}}
 
* {{docker run}}
  
 
[[Category:Docker]]
 
[[Category:Docker]]

Latest revision as of 10:46, 14 September 2023


docker run -d --privileged

sudo docker run -d --privileged --name rancher --restart=unless-stopped -p 80:80 -v /home/ubuntu/rancher:/var/lib/rancher rancher/rancher:latest


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

See also[edit]

Advertising: