We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a53b83d commit b4009baCopy full SHA for b4009ba
1 file changed
verify.sh
@@ -80,8 +80,8 @@ docker run -d -p 5000:5000 --name registry \
80
81
# Step 2: Tag and push an image to the local registry with authentication
82
echo "Tagging and pushing an image to the local registry with authentication..."
83
+echo "password" | docker login localhost:5000 -u user --password-stdin
84
docker tag alpine:latest localhost:5000/alpine
-docker login localhost:5000 -u user -p password
85
docker push localhost:5000/alpine
86
87
# Step 3: Verify the image in the local registry
0 commit comments