From 36a56cea583c2fb5e619dc18e7131097e9b1f360 Mon Sep 17 00:00:00 2001 From: Joel Lord Date: Tue, 21 Jul 2020 19:32:15 -0400 Subject: [PATCH] Update 02-registries-repositories.md I had a 'unknown flag --creds username:apikey' error message when trying as documented. Adding the '=' has fixed my issues (v.1.15) Signed-off-by: Joel Lord --- docs/tutorials/02-registries-repositories.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/02-registries-repositories.md b/docs/tutorials/02-registries-repositories.md index 6a1364f38..61d69f932 100644 --- a/docs/tutorials/02-registries-repositories.md +++ b/docs/tutorials/02-registries-repositories.md @@ -78,7 +78,7 @@ We can verify that it is still portable with Docker by starting Docker again, as Pushing to Docker hub is just as easy. Of course you must have an account with credentials. In this example I'm using a Docker hub API key, which has the form "username:password" (example password has been edited for privacy), that I created with my Docker hub account. I use the `--creds` flag to use my API key. I also specify my local image name `fedora-bashecho` as my image source and I use the `docker` protocol with no host or port so that it will look at the default Docker hub registry: - # buildah push --creds ipbabble:5bbb9990-6eeb-1234-af1a-aaa80066887c fedora-bashecho docker://ipbabble/fedora-bashecho:latest + # buildah push --creds=ipbabble:5bbb9990-6eeb-1234-af1a-aaa80066887c fedora-bashecho docker://ipbabble/fedora-bashecho:latest And let's inspect that with Skopeo: