I have a docker container, which needs o be started everytime on boot.
Like, when the docker environment server machine restarts/reboots.
How to set that?
while creating container:
docker run --restart=always
If machine already started/to change on existing machine., we can use docker container update.
docker update --restart=always CONTAINER
Reference
Like, when the docker environment server machine restarts/reboots.
How to set that?
while creating container:
docker run --restart=always
If machine already started/to change on existing machine., we can use docker container update.
docker update --restart=always CONTAINER
Reference
No comments:
Post a Comment