Nana explains how to create a private repository on AWS ECR, log in, and push Docker images using the command line.
In this video you will learn about private docker registry. How to create a private repository on AWS ECR, how to push your built image to it and about the image naming concepts in registries in general.
First we will create a private repository on AWS, then build and tag an image so that we can push the docker image into the repository. In order to push the image into the private registry with have to login, so you will also learn about docker login command.
Installing AWS Cli on:
Linux: docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux…
MacOS: docs.aws.amazon.com/cli/latest/userguide/install-cliv2-macOS…
Windows: docs.aws.amazon.com/cli/latest/userguide/install-cliv2-windo…
Configuring the AWS Cli: docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.…
-----------------------------------------------------------------------------------------------------------
"Docker in Practice":
Developing with Docker ► youtu.be/6YisG2GcXaw
Docker Compose ► youtu.be/MVIcrmeV_6c
Dockerfile ► youtu.be/WmcdMiyqfZs
Private Repository ► youtu.be/vWSRWpOPHws
Deploy your containerized Application ► youtu.be/ZowjOhpAcIc
For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible.
►► Full Docker and Kubernetes Tutorial Playlist: bit.ly/2YGeRp9
This video is the 11th of a complete series for beginners, where I explain the basic concepts and also show you demo's like deploying your containerized application. At the end of this tutorial you will fully understand Docker and Kubernetes.
💡 Only interested in Docker?
►► Complete Docker Tutorial Playlist: bit.ly/2ymJHbX
#docker #dockertutorials #devops #techworldwithnana
-------------------------------------------------------------------------------------
The complete step-by-step guide to Docker and Kubernetes will include the following content:
🐳 D O C K E R
- Container concept
- Why docker? (image vs. traditional DevOps)
- Install docker on different operating systems
- 8 basic commands you need to know
- Docker vs. Virtual Machine
- Docker in Practice: Overview of whole development process with Docker (development, continuous delivery, deployment)
- Develop an application with Docker
- Docker Compose
- Dockerfile
- Private Repository
- Deploying your containerized application
- Docker Volumes from theory to practice
✵ K U B E R N E T E S
- Main Kubernetes components (including Pod, Service, Ingress, Volumes, ConfigMap, Secrets, Deployment, StatefulSet)
- Kubernetes architecture for beginners (master, slave nodes & processes)
- Understand how does K8s REALLY work? Main Concepts of how to use K8s
- Miniku
Why it's here
1 person recommends this
What people say. Recommended for its clear explanation of the difference between local Docker tagging and tagging for external registries.
Moments people linked to
u
unacornon Stack Overflow • Recommends
On “Purpose/usage of Docker build -t flag vs Docker tag”
With the help of (credits to) comments above and clear explanation in this video link to this video,
I cleared my doubts finally. docker build -t name:tag is to tag the image locally in docker. whereas using the tag command is renaming with other repo (other than dockerhub) for docker to recognize.. as mentioned by comments above and in the video.
I also tried a shortcut to verify if that works, so apparently we can shortcut with docker build -t <aws-ecr-uri-or-other-remote-repo-uri>/<same-name-as-your-app>:tag that combine both steps in one, then you can proceed to push it to AWS ECR with docker push
Just a note apart from the question. AWS ECR repo == 1 image each. (for different versions). So…