Docker: A Project-Based Approach to Learning by Cannon Jason

Docker: A Project-Based Approach to Learning by Cannon Jason

Author:Cannon, Jason [Cannon, Jason]
Language: eng
Format: epub, azw3, pdf
Published: 2021-09-03T16:00:00+00:00


This is what it looks like when you provide invalid credentials:

[root@docker_host ~]# docker login

Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.

Username: fakename

Password:

Error response from daemon: Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password

Let's look at the help for this command.

docker login --help

Output:

Usage: docker login [OPTIONS] [SERVER]

Log in to a Docker registry.

If no server is specified, the default is defined by the daemon.

Options:

-p, --password string Password

--password-stdin Take the password from stdin

-u, --username string Username



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.