Just use the following command to update all containers (even if they are running) :
docker ps -q | while read CONTAINER_ID ; do
docker update --restart=always "$CONTAINER_ID"
done
restart
flag has not been set at container’s creation time.
Just use the following command to update all containers (even if they are running) :
docker ps -q | while read CONTAINER_ID ; do
docker update --restart=always "$CONTAINER_ID"
done