jenkins - Docker pull from artifactory fails with credentials issue -


i have jenkins job on remote environment use docker pull down image (microsoft/aspnetcore-build/2.0.0) local artifactory repo, docker pull fails - 'unknown: forbidden', yet other jobs sharing same artifactory credentials not fail.
docker pull seems proceed when attempted local or other machine, , job kicked off manually on jenkins. there multiple retries each image layer , subsequently fails -

'unknown: rejected artifact download request: user xyz not permitted deploy 'microsoft/aspnetcore-build/2.0.0'.

try add docker login -u $docker_user -p $docker_pw $docker_url make sure loggin


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -