Difference between revisions of "--restart"
Jump to navigation
Jump to search
(Redirected page to Start configuration behavior and restart policy) Tags: New redirect, Mobile web edit, Mobile edit |
(Removed redirect to Start configuration behavior and restart policy) Tag: Removed redirect |
||
Line 1: | Line 1: | ||
− | + | * [[Start configuration behavior and restart policy]] | |
+ | |||
+ | 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:46, 14 September 2023
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
Advertising: