I'm running two containers based on the same image. This setup breaks the automatic removal of old, unused Docker images. This is what happened when I tried updating:
- Have both containers running.
- Go to Docker tab, select "apply update" on one of the containers.
-
When the updater has run the command to start the container again, it tries removing the old image. It says "Removing orphan image <image id>", "Error: Image can not be deleted, in use by other container(s)"
(This is good, we don't want to delete images that are in use). -
After updating the second container, the updater doesn't try to delete the old image.
(The old image is no longer in use at this point, so the updater should ideally attempt to remove it).
This is just a minor annoyance, removing the old image in command line works fine.
(I didn't include any diagnostics, because I really didn't think it would be necessary for debugging. This kind of setup is probably very rare.)
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.