(Visited 84 times, 1 visits today)
Â
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
Ash Thomas is a seasoned IT professional with extensive experience as a technical expert, complemented by a keen interest in blockchain technology.