Docker Login

Docker CLI로 Login 해보기

docker login -u [username]

# 위의 명령어 실행 후 password 를 올바르게 입력하면, 아래와 같은 메세지를 볼 수 있다.

Password:
Login Succeeded

Logging in with your password grants your terminal complete access to your account.
For better security, log in with a limited-privilege personal access token. Learn more at https://docs.docker.com/go/access-tokens/

📚 로그인한 패스워드 정보는 ~/.docker/config.json에 저장된다.

☕️ Ref

Last updated