1
我正在嘗試設置一個bitbucket管道,並使用docker run
語句。但構建失敗,出現以下錯誤信息:Docker在管道中運行說`docker:來自守護進程的錯誤響應:授權被拒絕'
docker: Error response from daemon: authorization denied
這裏是管道配置
pipelines:
default:
- step:
script:
# build the Docker image (this will use the Dockerfile in the root of the repo)
- docker build -t solc .
# Test the solidity files in project
- docker run solc
問:我沒有進行任何的操作,需要授權。爲什麼錯誤消息正在討論授權。
Bitbucket管道已更新,現在支持更多命令,包括Docker運行。完整的命令列表可以在這裏找到:https://confluence.atlassian.com/bitbucket/run-docker-commands-in-bitbucket-pipelines-879254331.html – phod