Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Unable to Delete Workspace: Conflict Error Due to Image Reference in Use by Another Container

オープン
#387 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker
領域
devops

調査の方向性

レポートでは、ソースファイルもテストも指定されていません。まず、DevContainers Docker templateを使用して2つのworkspaceで削除を再現し、次にDocker imageが削除されるworkspace削除経路を追跡してください。別の実行中のコンテナが共有イメージを引き続き参照している状態で、1つのworkspaceを削除できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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: 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:
  1. Create two workspaces, both using the DevContainers Docker template.
  2. Attempt to delete one workspace while the other is still running and using the same template.
  3. Observe the conflict error during the deletion process.
Workaround:

Attempting to delete the workspace after stopping the other running workspace succeeds.

Additonal Info:
Environment:
  • Coder Version: v2.16.0+683a720
  • OS: Linux (installed using the setup script)
主要言語
Go
スター
300
フォーク
64
平均マージ
20分
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/envbuilder のほかの issue

coder/envbuilder の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。