This repository has been archived by the owner on Aug 21, 2022. It is now read-only.
Auto-updating Docker images (from private registries) not working #18
Labels
bug
Something isn't working
By running
terraform apply
periodically it should pull new containers when they are available and the "latest" tag is used.It should then start up the new containers and update the webserver configuration (port numbers).
Then the new application should be served.
There seem to be issues, at least with private registries. After pushing a new "latest" image to the registry,
terraform apply
will do something, but not pull the new image? I have to rundocker pull
manually and thenterraform apply
again, to get the latest image running.How to reproduce
I want to get the latest image of "myregistry.com:6443/myimage:latest"
docker_container
docker_image
New image hash is correct. Running
docker images
will yield:Then I pull the image manually and run
docker images
:The image is downloaded correctly. Running
terraform apply
again will recreate the containers and provide the latest version of the application.The text was updated successfully, but these errors were encountered: