Here is my hello world hcl file:
https://gist.github.com/yeukhon/5412eeec74000455060094ccf50970cf
| task "hello-task" { |
| driver = "docker" |
| config { |
| image = "registry/username/helloworld/0.1:latest" |
| port_map { |
| http = 8000 |
| } |
| } |
I changed the response from hello world to bye world as a test. But it seems like Nomad would not download the newer latest docker image I have published even though my registry has a modified latest image available. I can force it to use another version of course if I change the tag. Thoughts? I am running Nomad v0.8.4
I understand it's possible Nomad caches docker image locally, but the sha checksum is different, so why wouldn't Nomad pull the latest? Thank you.