Skip to content

Docker login in Window server 2019 in Code build pipeline

0

Hi Team,

I am getting an issue to login in docker hub using command line in build spec file in aws code build. Could you please provide the commands so we can execute and login on docker hub on window server on code build.

Thanks Anuj

1 Answer
0

Here is Docker's documentation for managing logins:
https://docs.docker.com/reference/cli/docker/login/

Looks like the recommendation for Windows is to use the WinCred helper app.

Hope this helps!

AWS
EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

  • Hi iBehr,

    It's not working. Docker is not recognise on window powershell command. If you use these please send the proper command.

    Thanks in advanced

  • Have you installed Docker Desktop and ensured it is in the PATH?
    https://docs.docker.com/desktop/install/windows-install/

  • We don't require the docker desktop in window core system. It's linux based system like. We need to install on command based oy

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.