(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.