Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[功能建议]现在容器需要登录,提示:Error response from daemon: unauthorized: authentication required #36

Open
cffycls opened this issue Aug 19, 2024 · 2 comments

Comments

@cffycls
Copy link

cffycls commented Aug 19, 2024

现在容器需要登录,提示:Error response from daemon: unauthorized: authentication required

:~# docker pull nginx:stable-alpine
Error response from daemon: unauthorized: authentication required

增加可配置环境变量,如(workflows.yaml):
https://github.com/docker/login-action

# 登录到 Docker Hub
        name: Login to Docker Hub
        uses: docker/login-action@v3
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
@cffycls cffycls changed the title [增加建议]部分容器需要登录,提示:Error response from daemon: unauthorized: authentication required [增加建议]现在容器需要登录,提示:Error response from daemon: unauthorized: authentication required Aug 19, 2024
@cffycls cffycls changed the title [增加建议]现在容器需要登录,提示:Error response from daemon: unauthorized: authentication required [功能建议]现在容器需要登录,提示:Error response from daemon: unauthorized: authentication required Aug 19, 2024
@imdingtalk
Copy link
Contributor

不明所以~

@cffycls
Copy link
Author

cffycls commented Aug 27, 2024

@imdingtalk 上面这个是拉取时的命令和返回:

docker pull nginx:stable-alpine
Error response from daemon: unauthorized: authentication required

拉不下来,显示需要登录授权

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants