Ensures containers are restarted automatically
root@vmanalyst.com:~# docker run -d –restart
always no on-failure on-failure: unless-stopped
root@vmanalyst.com~# docker run -d –restart unless-stopped nginx
sudo docker run -dt –restart unless-stopped –name web0123 busybox sh
(Visited 76 times, 1 visits today)