Difference between revisions of "Docker run -d --privileged"
Jump to navigation
Jump to search
(Created page with "{{lc}} docker run -d --privileged {{docker run}}") |
|||
(6 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 == | ||
+ | * {{Rancher}} | ||
+ | * {{docker run}} | ||
− | + | [[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]
- Rancher, RancherOS, Rancher Server, Rancher Desktop, Rancher Webhook,
rancher config, k3d, k3s, Klipper, RKE
, Harvester, Longhorn,rancher-agent
, Rancher authentication providers,cattle.io
, ACE, Norman, rancher-backup,versions
, Rancher Manager and Cluster API (CAPI), Ingress configuration, Terraform Rancher docker run [ -it | -d -it | --mount | --volume | --name | --env | --publish | --rm | --help ]
Advertising: