Welcome to our educational YouTube channel focused on Docker in detail, perfect for beginners looking to learn more about this powerful tool. Our tutorials cover everything from Docker basics to more advanced topics like Docker Compose, all explained in a beginner-friendly way. If you're ready to dive into the world of Docker, subscribe now for regular updates and start mastering this essential technology today!
Github :- https://github.com/dharmendrasha/teac...
Docker In Detail - Beginner Friendly
Hello guys dharmendra soni here, and you are watching my youtube channel and today we are going to learn about docker
Hey friends if you have some experience in software engineering / Programming now and you are looking for upgradding your self to enhance your professionalism.
Docker might be the perfect next big thing for you.
In the chapter we are going to learn about docker
With absolute beginning
Till end of the video you will be able to learn all the practicse use cases of Docker
We are going to learn this thing.
1. Problem Statement
1. let say you are working on a project more than 1 more person.
2. the problem is that every applications runs on a saperate environment and sharing that environment can be a tricky situation like
1. you are developing on environment like
1. mac os
2. node 18
3. npm 6
2. and your mate is has diferrent environment
1. windows
2. node 20
3. npm 8
3. the problem is configuring this is even though you can call your peer and ask them to downgrade/upgrade the system you can cannot do this if your application has certain kind of application that is available for one platform like macos you cannot install it on windows this can become tricky and unsolvable problem and your team has more than 2 peers let say 20 people are working on it this can become very big challenge. To solve this problem we have to find a solution where we set up our system one time and can share with anyone and also we can make infinite copies of it you can call this sandbox or in docker terms containerisation environment so any one can start it with one go.
4. To solve this problem we have to use Docker
5. Docker is built to keep in mind that we we can build test and deploy our softwares with ease.
2. Installation of Docker CLI and Desktop [www.docker.com/products/docker-desktop/](https://www.docker.com/products/docke...)
1. show an example to install any kind of image Ubuntu, alpine
3. Understanding Images v/s Containers
1. you can call containers are like machine for example i am using macbook pro ( hardware )
2. i can install any kind of os like window, ios, android cureently by default we using ventura
4. What is docker registry
1.
1. **Registry**: A registry, in the context of Docker, is a storage and distribution system for Docker images. Think of it as a centralised location where Docker images are stored and from where they can be pulled (downloaded) onto your local machine or pushed (uploaded) after you've built them.
2. ****
3. **Docker Registry**: So, a Docker registry is essentially a server-side application that stores and lets you distribute Docker images. It serves as a repository for Docker images, allowing you to manage and share them across different environments and teams. Docker Hub (hub.docker.com) is the most popular public Docker registry, where you can find a vast collection of pre-built Docker images. Additionally, you can set up your own private Docker registry to store proprietary or sensitive images within your organization.In simpler terms, you can think of a Docker registry as a warehouse for Docker images. You can either store your own images there or access existing ones to use in your projects.
2. Running Ubuntu Image in Container
1. pull and image | docker pull ubuntu
2. auto pull | docker run -it ununtu
3. see all the images
4. show all the contaners
3. Multiple Containers
1. show one
4. Port Mappings, nginx - use greater then sign [hub.docker.com/_/nginx](https://hub.docker.com/_/nginx)
5. Environment Variables
1. `-e REDIS_NAMESPACE='staging'`
6. Dockerization with Node.js Application
1. Dockerfile
2. Caching Layers
3. Publishing to Hub
7. Docker Compose
1. Services
2. Port Mapping
3. Env Variables
#docker #dockertutorial #dockerforbeginners #subscribe