C
Coder.com2mo ago
tsa

Can't delete a workspace which uses devcontainers

I created a new workspace using Docker DevContainers, but I'm unable to delete the workspace. It's throwing an error that says: Error: Unable to remove Docker image: Error response from daemon: conflict: unable to remove repository reference "ghcr.io/coder/envbuilder:latest" (must force) - container d5711f770661 is using its referenced image 6d1d6302ce48.
6 Replies
Codercord
Codercord2mo ago
<#1291102299741098035>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
tsa
tsaOP2mo ago
This error occurs when a workspace using the DevContainers Docker template is currently running, and another workspace that also uses the template is attempted to be deleted.
tsa
tsaOP2mo ago
GitHub
Unable to Delete Workspace: Conflict Error Due to Image Reference i...
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: Error: ...
Atif
Atif2mo ago
I trasnferred the issue to coder/envbuilder cc: @Cian
Cian
Cian2mo ago
this is probably an issue with the template tbh, terraform is trying to delete the image
Want results from more Discord servers?
Add your server