The requested URL returned error: 404
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu với tài liệu về tính năng Docker-in-Docker và bước devcontainer-features-install.sh được ghi lại trong log, tập trung vào việc tải xuống docker-compose v2.29.2 trả về 404. Tái hiện quá trình cài đặt tính năng và xác minh rằng docker-compose được cài đặt thành công và tính năng hoàn tất mà không có lỗi thiếu tệp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Installing docker-in-docker fails to curl, not sure what url. How can I fix this?
[dev_containers_target_stage 6/6] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=docker-in-docker_1,target=/tmp/build-features-src/docker-in-docker_1 cp -ar /tmp/build-features-src/docker-in-docker_1 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/docker-in-docker_1 && cd /tmp/dev-container-features/docker-in-docker_1 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/docker-in-docker_1:
0.474 ===========================================================================
0.474 Feature : Docker (Docker-in-Docker)
0.474 Description : Create child containers inside a container, independent from the host's docker instance. Installs Docker extension in the container along with needed CLIs.
[2024-08-14T14:52:48.241Z] 0.474 Id : ghcr.io/devcontainers/features/docker-in-docker
0.474 Version : 2.11.0
0.474 Documentation : https://github.com/devcontainers/features/tree/main/src/docker-in-docker
0.474 Options :
0.474 VERSION="latest"
[2024-08-14T14:52:48.241Z] 0.474 MOBY="true"
0.474 MOBYBUILDXVERSION="latest"
0.474 DOCKERDASHCOMPOSEVERSION="v2"
0.474 AZUREDNSAUTODETECTION="true"
0.474 DOCKERDEFAULTADDRESSPOOL=""
0.474 INSTALLDOCKERBUILDX="true"
0.474 INSTALLDOCKERCOMPOSESWITCH="false"
0.474 ===========================================================================
0.500 Distro codename 'focal' matched filter 'bookworm buster bullseye bionic focal jammy noble'
1.005 Get:1 https://packages.microsoft.com/repos/azure-cli focal InRelease [3596 B]
[2024-08-14T14:52:48.241Z] 1.032 Get:2 https://packages.microsoft.com/repos/microsoft-ubuntu-focal-prod focal InRelease [3632 B]
1.058 Get:3 https://download.docker.com/linux/ubuntu focal InRelease [57.7 kB]
1.163 Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
1.171 Get:5 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
1.192 Get:6 https://packages.microsoft.com/repos/azure-cli focal/main amd64 Packages [1713 B]
1.230 Get:7 https://packages.microsoft.com/repos/azure-cli focal/main all Packages [4113 B]
1.328 Get:8 https://packages.microsoft.com/repos/microsoft-ubuntu-focal-prod focal/main all Packages [2714 B]
1.358 Get:9 https://packages.microsoft.com/repos/microsoft-ubuntu-focal-prod focal/main amd64 Packages [308 kB]
1.460 Get:10 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages [58.5 kB]
1.682 Get:11 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
1.723 Get:12 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [30.9 kB]
1.806 Get:13 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
1.842 Get:14 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3867 kB]
1.946 Get:15 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
2.758 Get:16 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3885 kB]
3.431 Get:17 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1256 kB]
3.853 Get:18 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
3.853 Get:19 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
3.874 Get:20 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB]
3.999 Get:21 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [33.5 kB]
4.012 Get:22 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1543 kB]
[2024-08-14T14:52:48.241Z] 4.175 Get:23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4351 kB]
4.488 Get:24 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4018 kB]
[2024-08-14T14:52:48.241Z] 4.805 Get:25 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]
4.812 Get:26 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]
6.670 Fetched 33.0 MB in 6s (5650 kB/s)
6.670 Reading package lists...
8.464 Docker / Moby CLI and Engine already installed.
8.464 Finished installing docker / moby!
8.717 compose_version=2.29.2
8.717 (*) Installing docker-compose 2.29.2...
8.859 curl: (22) The requested URL returned error: 404
8.863 Error: Failed to install docker-compose v2.29.2
8.864 chmod: cannot access '/usr/local/bin/docker-compose': No such file or directory
8.865 ERROR: Feature "Docker (Docker-in-Docker)" (ghcr.io/devcontainers/features/docker-in-docker) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/docker-in-docker for help troubleshooting this error.
- Ngôn ngữ chính
- Shell
- Star
- 1.5k
- Fork
- 625
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
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.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của devcontainers/features
-
use mise for java feature installation or make sdkman configuable to download JDK from mirrosĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
devcontainers/features#1730 ·
-
Version resolution over unauthenticated git makes feature installs fail hard, with no fallbackCó thể đã có người làm @v-Kaniska244 đã nhận 39 ngày trước. Đang mở
devcontainers/features#1726 · 2 bình luận · 1 người được giao ·
-
[docker-in-docker] v4 with iptablesSwitchAtRuntime:true default on Ubuntu 26.04 host/devcontainer image activates iptables-legacy instead of iptables-nftCó thể làm lại được @v-Kaniska244 đã nhận 57 ngày trước và không có pull request nào đang mở. Đang mở
devcontainers/features#1709 · 1 reaction · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
devcontainers/features#1707 ·
-
Parser failure on "localEnv:" in devcontainer-feature.jsonCó thể làm lại được @v-Kaniska244 đã nhận 72 ngày trước và không có pull request nào đang mở. Đang mở
devcontainers/features#1704 · 1 reaction · 1 người được giao ·
Tất cả issue của devcontainers/features
Issue tương tự
-
Add dependabotĐang mởfeat
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 72/100
open-nudge/opentemplate#204 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Standalone Unix updater reports success when curl fails (`curl | sh` masks the exit status); Windows path is unaffectedCó thể đã có người làm @akhil9tiet đã nhận hôm nay. Đang mởbug CLI windows-os
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
openai/codex#54465 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ChrisTitusTech/dwm-titus#397 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Translate zstd cheat sheet to frĐang mởgood first issue help wanted language:fr translation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
mrvi0/cli-cheatsheet#268 ·