Closed rezafathikohi closed 3 years ago
Use watchtower - as noted in the docs. It will pull & restart the container by itself.
Hmmm...
docker stop py-kms
docker pull pykmsorg/py-kms
docker-compose pull
docker-compose up -d
I hope that helps...
Is this the command?
$ docker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ containrrr/watchtower
Is this the command?
$ docker run -d --name watchtower -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower
That should do it. You'll then have to containers running - one py-kms and one watchtower, which checks every 5 minutes for new images over on Docker Hub. Do you think I should add this to the docker-compose file section? Then you would only need one command and you are done.
Yes definately
I installed pykms on docker as you described in the wiki. So if there is a new update , how can I update the py server in docker?