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

prune --images will show many errors when multiple workdirs #35

Open
dpordomingo opened this issue Jun 7, 2019 · 0 comments
Open

prune --images will show many errors when multiple workdirs #35

dpordomingo opened this issue Jun 7, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@dpordomingo
Copy link
Contributor

Since the same images can be used by many workdirs, sourced prune --images can show many docker-compose errors in such installations

a = append(a, "--rmi", "all")

e.g.

Removing image srcd/gitbase:v0.20.0
ERROR: Failed to remove image for service gitbase: 409 Client Error:
  Conflict ("conflict: unable to remove repository reference "srcd/gitbase:v0.20.0"
  (must force) - container 90f006083a79 is using its referenced image e6029594062e")

I see that it can be expected behavior, but I wonder if we'd like to improve the DX is these situations, like:

  • if there are already prepared workdirs, skip image deletion, and notice the user about that.
@dpordomingo dpordomingo added the enhancement New feature or request label Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant