-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Question - the container.create or run API does not pull ? #2635
Comments
Fix the pulling issue stated in docker#2635. Basically, similar to `docker create` it should pull the image if it does not exist locally.
Fix the pulling issue stated in docker#2635. Basically, similar to `docker create` it should pull the image if it does not exist locally. Signed-off-by: Navid Ali Pour <navid9675@gmail.com>
Fix the pulling issue stated in docker#2635. Basically, similar to `docker create` it should pull the image if it does not exist locally. Signed-off-by: Navid Ali Pour <navid9675@gmail.com>
Are you looking at the docker CLI documentation for docker-py/docker/models/containers.py Lines 846 to 858 in b37a25d
I agree it would be nice if they did the same thing though. That change might break existing usage that relies on the current behavior, but perhaps the maintainers would be open to it.
|
Based on the documentation, I expected that container create API would pull the image. However, I get a failure exception with ImageNotFound.
Is there a way to get the CLI behavior to pull if the image doesn't exist?
Thank you!
The text was updated successfully, but these errors were encountered: