stepchowfun / toast

Containerize your development and continuous integration environments. 🥂
Other
1.57k stars 39 forks source link

Add new parameter '--force-image-pull' which force pull image from re… #462

Closed raennor closed 1 year ago

raennor commented 1 year ago

Hi @stepchowfun I have a feature-PR which adds a new parameter --force-image-pull to force pull image from repository.

Currently toast only downloads requested image from repository if it not exists locally. Some images are updating remotely with same name (e.g. latest) and so a extra docker pull would be needed before running toast to get the newest version. If this new argument use used, toast will always call a docker pull before creating the container.

Status: Ready

stepchowfun commented 1 year ago

Looks great. I added some small suggestions. If they sound good to you, I'd be ready to merge this.

raennor commented 1 year ago

Thanks for your suggestions, their sounds good to me. I have updated my commit, hopefully it's now okay to you.