Skip to content

Commit

Permalink
Switched to using interactive docker login command
Browse files Browse the repository at this point in the history
Signed-off-by: Calum Murray <cmurray@redhat.com>
  • Loading branch information
Cali0707 committed Aug 11, 2023
1 parent f66ce0b commit 7ec3b8c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions blog/docs/articles/getting-started-blog-p2.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ Once you have Docker installed on your system, you will need to log in to a cont
Firstly, you can use a Docker account to sign into Docker hub. To create one, you can [sign up for one here](https://hub.docker.com/signup){:target="_blank"}. Once you have an account,
all you need to do is type `docker login`, and follow the instructions. Another option is to use a registry on [Quay.io](https://quay.io/){:target="_blank"}, or to
[create a local registry](https://www.allisonthackston.com/articles/local-docker-registry.html){:target="_blank"}. If you use either of these approaches, or some other registry,
all you need to do is login with `docker login -u <username> -p <password> <registry_url>`. You only need to include the `-u <username` and `-p <password` options
if the registry needs you to sign in. For example, to login to a local registry, all you need to do is run `docker login localhost:8080`, assuming that the registry
is running on `localhost:8080` and you have not enabled authentication on it.
all you need to do is login with `docker login <registry_url>`, and then follow the prompts in your terminal. For example, to login to a local registry, all you need to do is run
`docker login localhost:8080`, and to log in to [Quay](https://quay.io){:target="_blank"} all you need to do is run `docker login quay.io`.

##### Option 2: Setting up Podman

Expand Down

0 comments on commit 7ec3b8c

Please sign in to comment.