Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

ContainerVolume stuck in Pending

Đang mở Phù hợp với người mới
#293 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
76/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, go
Lĩnh vực
backend

Hướng nghiên cứu

Đọc internal/docker/cli_orchestrator.go và tìm volumeNotFoundRegEx; so sánh kết quả khớp hiện tại với no such volume với lỗi Docker được hiển thị trong issue. Kiểm tra các trình điều phối Docker và Podman, cùng luồng đối soát volume trong controllers/volume_*.go. Công việc hoàn tất khi lỗi được báo cáo được nhận diện là “không tìm thấy” và volume còn thiếu có thể được tạo; chạy các bài kiểm thử liên quan.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

ContainerVolume stuck in Pending: Docker Desktop 4.94 returns "volume not found"

Summary

With Docker Desktop 4.94.0 (engine 29.8.2, Windows), DCP never creates missing named volumes. VolumeReconciler repeatedly logs Could not determine whether container volume exists and the volume stays Pending, so dependent containers never start.

Cause

docker volume inspect <missing> now returns:

Error response from daemon: volume <name> not found

internal/docker/cli_orchestrator.go only treats (?i)no such volume as containers.ErrNotFound, so the error is treated as unknown and docker volume create is never reached (controllers/volume_controller.go).

Repro

  1. Docker Desktop 4.94.0 / engine 29.8.2
  2. AppHost with .WithDataVolume("some-volume"), volume not present
  3. aspire start: the volume stays Pending indefinitely

Suggested fix

Also match (?i)volume (.*) not found in volumeNotFoundRegEx (Docker and Podman orchestrators).

Environment

  • Aspire 13.6.1
  • Docker Desktop 4.94.0 (241994), client/server 29.8.2, Windows
Ngôn ngữ chính
Go
Star
191
Fork
26
Merge trung bình
1 ngày 15 phút
Pull request đã merge (30 ngày)
17

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/dcp

Tất cả issue của microsoft/dcp

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.