Skip to content
New issue

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

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

Already on GitHub? # to your account

Docker "--pull always" option #123

Closed
daniel-dona opened this issue Feb 1, 2021 · 3 comments
Closed

Docker "--pull always" option #123

daniel-dona opened this issue Feb 1, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@daniel-dona
Copy link
Collaborator

The "--pull" option seems to be officially documented:

https://docs.docker.com/engine/reference/commandline/run/#options

...but is not available on older versions of Docker

The first release where it's implemented is 20.10, currently the last one.

docker/cli#1498 (comment)

Maybe a fall-back option can be documented

@dachafra dachafra added enhancement New feature or request ongoing Currently working on the issue labels Feb 1, 2021
@dachafra
Copy link
Member

dachafra commented Feb 1, 2021

what would be the other option? two commands? pull and then run?

@daniel-dona
Copy link
Collaborator Author

what would be the other option? two commands? pull and then run?

Exactly that

docker pull oegdataintegration/gtfs-bench
docker run -itv "$(pwd)":/output oegdataintegration/gtfs-bench

@dachafra
Copy link
Member

dachafra commented Feb 3, 2021

okey!

@dachafra dachafra closed this as completed Feb 3, 2021
@dachafra dachafra removed the ongoing Currently working on the issue label Feb 6, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants