Docker. Don't use version numbers with docker commands
Maintainer thường phản hồi trong vòng 1 ngày
@mjang đang làm issue này rồi.
Từ ngày 25/9/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Describe the bug
The commands lead to errors, specifically:
Error response from daemon: pull access denied for private-registry.nginx.com/v2/nginx-plus/agent, repository does not exist or may require 'docker login': denied: <html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx/1.27.4</center>
</body>
</html>
The command works without a v2. But in some cases, users will want the v2
To reproduce
Run commands in https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-docker/#use-official-nginx-plus-docker-images
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
As noted internally:
that doc is for if you are using the docker REST API. See example curl command https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-docker/#list-all-tags
If you are doing a docker pull private-registry.nginx.com/nginx-plus/agent:debian will get you an agent v2 image and private-registry.nginx.com/nginx-plus/agentv3:debian will get you agent v3 image
Open question
Does this apply just to the link or is this a general problem. Should we add something to our style guide and/or set up an automated rule? Or am I "overthinking" this issue?
Possible solution:
Common explanation (with an include):
- When to omit version (in this case v2)
- When to use a version
- Ngôn ngữ chính
- HTML
- Star
- 95
- Fork
- 174
- Merge trung bình
- 2 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 84
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- 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 nginx/documentation
-
bug P2 - Important (TTR: 2 weeks)
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
nginx/documentation#486 · 10 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
JSON can't include commentsĐang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
nginx/documentation#2158 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Idea]: Labelling nginx and nginx plus features seperately in the header of each featureCó thể làm lại được @pumpumx đã nhận 201 ngày trước và không có pull request nào đang mở. Đang mở
nginx/documentation#1798 · 4 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Request]: NGINXaaS conceptual overview docCó thể làm lại được @bheftel đã nhận 307 ngày trước và không có pull request nào đang mở. Đang mởdocumentation P4 - Low (TTR: 90 days) product/nginxaas
nginx/documentation#1554 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Audit]: Install NGINX Gateway Fabric with HelmCó thể làm lại được @ADubhlaoich đã nhận 242 ngày trước và không có pull request nào đang mở. Đang mở📋 audit-requested customer-feedback onboarding P2 - Important (TTR: 2 weeks) product/ngf
nginx/documentation#1459 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày