Closed buschNT closed 4 months ago
Good idea! Since we are mirroring docker run
with gefyra run
I would suggest to go with the --pull
flag that is already provided by docker run
:
https://docs.docker.com/reference/cli/docker/container/run/#pull
What do you think @buschNT ?
Yes, I agree. The --pull
flag seems to be the better fit!
Added in 2.2.1 :)
What is the new feature about?
In some cases it might be useful to ensure that the used image during a docker run is pulled freshly from an external container repository. Thus I suggest the addition of a gefyra run "--no-cache" flag
Why would such a feature be important to you?
I run into python dependency issues because the gefyra run command used an 2 month old image on my local machine instead of the newest version in the external repository. I had to delete the local image first in order to get my setup working again. Maybe a --no-cache flag might be useful in some cases to prevent this issue. Furthermore, it might be helpful to shortly document this caching behavior in the CLI docs.
Anything else we need to know?
No response