You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to delete a workspace that uses the DevContainers Docker template, and another running container is using the same image, the deletion fails with the following error:
Error: Unable to remove Docker image: Error response from daemon: conflict: unable to remove repository reference "ghcr.io/coder/envbuilder:latest" (must force) - container xxxxxxx is using its referenced image xxxxxxx.
Steps to Reproduce:
Create two workspaces, both using the DevContainers Docker template.
Attempt to delete one workspace while the other is still running and using the same template.
Observe the conflict error during the deletion process.
Workaround:
Attempting to delete the workspace after stopping the other running workspace succeeds.
@techwithanirudh Can you reproduce this behaviour without Terraform (that is, by running two instances of Envbuilder in parallel)? I'm expecting that this is not the case, and this behaviour is related to the kreuzwerker/docker Terraform provider.
Issue:
When attempting to delete a workspace that uses the DevContainers Docker template, and another running container is using the same image, the deletion fails with the following error:
Steps to Reproduce:
Workaround:
Attempting to delete the workspace after stopping the other running workspace succeeds.
Additonal Info:
Link to message on Discord
Environment:
The text was updated successfully, but these errors were encountered: