Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Podman does not pull newest image from registry #399

Closed
OneOfTheJohns opened this issue Dec 16, 2024 · 2 comments
Closed

Podman does not pull newest image from registry #399

OneOfTheJohns opened this issue Dec 16, 2024 · 2 comments

Comments

@OneOfTheJohns
Copy link

Hi,

Im running nomad-podman env with versions:
Nomad v1.8.1
podman version 5.1.1

On a Freebsd host.

If i start a nomad job, that would create containers on a different node, podman would pull that image, start the container and everything is cool at this step, but when i push new image to container registry with the same name, re-run the nomad job (stop it, purge, start the job again), it seems that the image is not getting re-pulled. Not sure if im missing any configuration, or that is a bug.

@ruspaul013
Copy link
Contributor

Hello @OneOfTheJohns

Did you add this in the task configuration?

config {
  force_pull = true
}

@OneOfTheJohns
Copy link
Author

Guh, my bad, i guess i have thought it would be set to true by default... Thank you @ruspaul013 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants