Complete the command to pull a public image from Docker Hub.
docker pull [1]The command docker pull nginx pulls the official public nginx image from Docker Hub.
Complete the command to log in to Docker Hub before pulling a private image.
docker [1]You must use docker login to authenticate to Docker Hub before accessing private repositories.
Fix the error in the command to push an image to a private Docker Hub repo.
docker push [1]To push to Docker Hub, the image must be tagged with your Docker Hub username, like username/myimage.
Fill both blanks to tag a local image for your private Docker Hub repo.
docker tag [1] [2]
The command tags the local image myapp:latest as username/myapp:latest for pushing to your private repo.
Fill all three blanks to create a private repo, log in, and push an image.
docker [1] && docker [2] && docker push [3]
First, build the image directly tagged for Docker Hub with docker build -t username/myapp:latest ., then log in with docker login, and finally push username/myapp:latest.