Open cffycls opened 2 months ago
现在容器需要登录,提示: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 }}
不明所以~
@imdingtalk 上面这个是拉取时的命令和返回:
docker pull nginx:stable-alpine Error response from daemon: unauthorized: authentication required
拉不下来,显示需要登录授权
现在容器需要登录,提示:Error response from daemon: unauthorized: authentication required
增加可配置环境变量,如(workflows.yaml): https://github.com/docker/login-action