everybody will do launch paid devops course, but this man do totally free, hats off man with my bottom heart, your work very much appreciate again thankyou launching for this course.
Some advanced questions on docker asked to me in interviews: How to run multiple docker compose on same machine What is build context What is run context Flow of request when you type docker commands How to connect to different daemons on demand through same docker client Env vs Build arguments How to pass arguments to containers which do not get persisted in the containter after build stage How env is different than arg What is -build-arg What are docker buildx What is scratch image What is distroless image How do you mount a docker secret Restart policy in docker
Question: what are real-time challanges with docker? Ans. Docker has a single point of failure. If docker daemon goes down, application is down. - docker run as root user which is a security threat. - resource constraints - if you are running too many containers on a single host, you may experience resource constraints. This can lead to slow performance or crashes. Solution is podman. Which solves your docker problem. It is not single point failure, it can run as normal non-root user. Ques. What steps you will take to secure containers? Ans. 1. Use distroless or image with not too many packages as your final image in multi stage build. 2. Ensure that networking is configured properly. If required configure custom bridge network and assign them to isolate networks. Create different bridge network for finance application. 3. Use utilities like Sync to scan your container images. Before you push them to production or staging environment.
One major diff between ADD and COPY is if you add a file present in .tar.gz format it'll be automatically unzipped in created container whereas copy doesn't have this feature )
By free means only in terms of money. All your videos compete with top tier trainings in India. In explaining the comcepts, "thaggede le" thank you Abhishek. 🙏👍👌
Hi Abhishek sir, From day 23 to 29 was very clear and you have cleared many doubts this was the best content about containers and docker I never seen in UA-cam and finally, I scored 11 answers
In this globalized world all are running back to money but you are uploading free videos with real time scenarios it help full all .thank u, please keep on post
Docker is a Open Source PAAS based Platform . It is a container based application tool which have all the dependencies , library and binaries irrespective of the fact whatever OS it is .
Question. What is multi stage build in docker ? Ans. Concept of container itself is to keep it lightweight. Multi stage build allows you to build your docker container in multiple stages allowing you to copy artifacts from one stage to other. The major advantages of this is to build light weight containers. All dependencies and heavy base image were required only in build stage Final application build artifact(jar file) requires only Java runtime, not the dependencies required to build the application. So, final image size will drop from 800 MB to 20 mb. Ques. What are distroless images in docker Ans. Containers are also exposed to security vulnerabilities, cuz they are minimal os, still. Some images such as ubuntu comes with os related vulnerabilities or MySQL related dependencies. To solve this, image size was further shrunk. Distroless image are very very minimal such as scratch are hardly 1-2 mb. Instead of base image use distroless image. You don't even have basic command such as apt.
You have discussed all 12 questions previously, but get to know a few more points (real-time challenges and steps to secure containers) from the last 2 questions. Thank you so much Abhishek 🙏 God Bless You 😇
For the challenge of Docker Daemon as root, i used the concept of Apparmor. Bringing your docker up with Apparmor will bring up much more secure docker
Thanks Abhishek,The Docker concepts r very clear i have seen other courses previously but ur content gave me confidence..thanks again for bringing in good content for free ..even the paid courses dnt teach this much
Thanks for sharing covering this Abhishek, Really Helpful. Hearing for the 1st time about "Sync" utility and how its helpful but able to answer all the questions.
Hai Abhishek, you have explained all topics in much detailed way. Can you please make a small video to explaining the docker-compose and how this is useful to perform multiple docker services containers. Please as per your free time do consider it Abhishek. Thank you
Abhishek, I wonder how neatly the course is arranged and thought. Just thinking of homework you have done to put these videos. what is needed how much needed and what not to miss etc. I got little interest while searching for virtualization and after watching your videos its like bundle of information neatly explained. Going through the DevOps course. Thanks a lot for your efforts.
Iam very much impressed with your classes please continue and cover some real time projects please use different build tools..cicd pipeline and use plug-in also sir..
TQ for sharing the video sir, it's help me a lot to understand what type of questions the interviewer is going to ask and u covered all topics in docker with clear explanation
Bro tell me how many real time projects in this playlist or else entire channel? And what are the day or video number? Is that the projects can I mention my cv or not
We would be delighted if you come up with a session on how to write a Dockerfile for real-time projects...Once again, thanks for our selfless work to the community, Abhishek Anna!! ♥
just to point out one thing, the diagram which u have used for question 2 is wrong...n i really appreciate the way u explain things as well as i think 90% of the content is very relevant n real-time...Appreciate ur efforts bro...i'll donate some amount if u allow us to do so because creating content also needs resources
Hi Sagar .. Thanks for the support. The diagram is taken from official docker website, I don't think it can be wrong :p .. okay on a serious note, what do you think is wrong ? Please share :) You can become a member of our channel Sagar or reach out to me on LinkedIn
@@AbhishekVeeramalla actually i meant to say that diagram is less informative like in VM side of diagram u can see Host OS is totally missing and they have directly given Hypervisor which is not correct just that it creates confusion..but no worries once checked properly confusion gets cleared...
I got a few questions from this video Bro..at that moment I did not watch this video. How do we access application inside a container without using container port to debug some issue or etc.? this is one among them. Ur series gave me confidence Bro..
Hello, Thanks for the great DevOps playlist. I am learning a lot through your teachings. I am just wondering if there is a video for docker swam or docker compose? Can you also explain what is the difference between multi-stage docker builds and docker compose?
Hi abhishek garu thanks for your videos,one of the interview question is how do you check the vulnerabilities of docker image we created. 2.What happens if you update the image to the existing will it overwrite? 3.What happens if you update the image while container is running?
1 - sync 2- Yes, if you update the image to the existing one, it will overwrite the existing image. This is because Docker images are immutable, meaning that they cannot be changed once they are created. 3 - If you update the image while a container is running, the container will continue to run the old image. The new image will not be applied to the running container until it is restarted.
hi abhishek firstly i thankful for providing valuable devops course in free. Can you make a deep dive in containers networking explaining overlay n/w , Macvlan
Hi Abhishek, I have a question related to containers. What is the programmatic approach to checking the health of both the container and the application inside the container?
Hi Abhishek, you are doing an amazing job!!! Coming to my query, I am a bit confused when you say that scurity of containers is less compared to that of a VM, but the fact remains that in real world, containers in all probability will be set up on the VMs only, so it seems a contradiction, may be my fundamental understanding is wrong..
Abhishek, you introduced Buildah initially and is their any plan to make a session on it ? Also, could you please provide example for docker prune as well ..
Awesome sir again, I answered 11 questions, need to improve the english more, One question though sir, What are the benefits of joining UA-cam channel / benefit of Telegram channel?
Hi bro , In question 11 , u told that running docker daemon as root is a challenge...am sorry ...bcoz i feel usually root users will be sysadmins and they will have good subject knowledge and why should it turn as security threat and challenge.... Pls help me understand Tnx !!
They are two completely different. Multi stage build is used to copy artifact's from one stage to another and build light weight and more secure containers. Docker compose is used to manage multiple containers in one file
in some docker file we can write so many cmd commands but its take latest cmd command(last cmd command) argument so what is purpose of other cmd explain me
Explained in the previous videos. It is the starting command when u run a contianer. For example, assume you have a docker image with python django app. If you don't write CMD ["python", "manage.py", "runserver"] .. user should manually login to the container and execute that command.
In interviews ,they ask from git, jenkins, docker, ansible, kubernetes, linux ,shell script, monitoring, troubleshooting, terraform, aws....My question is how to set interviewer expectation to only those parts in which i am strong as i having just knowledge on few components not having hands on....but if you dont mention these all in CV , no call and if we have just theoritical knowledge ,we get grilled .....so how to showcase our best tools so that we can ace interview....kindly suggest
Hello Abishek, thanks for all but I have a question would it reduce windows image as well? in terms of light weight? what about license term will work on this case for windows?
everybody will do launch paid devops course, but this man do totally free, hats off man with my bottom heart, your work very much appreciate again thankyou launching for this course.
It's my pleasure
Some advanced questions on docker asked to me in interviews:
How to run multiple docker compose on same machine
What is build context
What is run context
Flow of request when you type docker commands
How to connect to different daemons on demand through same docker client
Env vs Build arguments
How to pass arguments to containers which do not get persisted in the containter after build stage
How env is different than arg
What is -build-arg
What are docker buildx
What is scratch image
What is distroless image
How do you mount a docker secret
Restart policy in docker
could u pls let m know how many years xp do u have ?
Question: what are real-time challanges with docker?
Ans. Docker has a single point of failure. If docker daemon goes down, application is down.
- docker run as root user which is a security threat.
- resource constraints - if you are running too many containers on a single host, you may experience resource constraints. This can lead to slow performance or crashes.
Solution is podman. Which solves your docker problem. It is not single point failure, it can run as normal non-root user.
Ques. What steps you will take to secure containers?
Ans.
1. Use distroless or image with not too many packages as your final image in multi stage build.
2. Ensure that networking is configured properly. If required configure custom bridge network and assign them to isolate networks. Create different bridge network for finance application.
3. Use utilities like Sync to scan your container images. Before you push them to production or staging environment.
One major diff between ADD and COPY is if you add a file present in .tar.gz format it'll be automatically unzipped in created container whereas copy doesn't have this feature )
Agree .. on to the point .. Missed it during the video .. Thanks for adding it here :)
By free means only in terms of money. All your videos compete with top tier trainings in India. In explaining the comcepts, "thaggede le" thank you Abhishek. 🙏👍👌
Thanks alot brother
@@AbhishekVeeramalla annaya paid course cheyyaindi many others are also doing but they are not crystal clear about concepts
Hi Abhishek sir, From day 23 to 29 was very clear and you have cleared many doubts this was the best content about containers and docker I never seen in UA-cam and finally, I scored 11 answers
Amazing
In this globalized world all are running back to money
but you are uploading free videos with real time scenarios it help full all .thank u, please keep on post
Thanks alot
Docker is a
Open Source
PAAS based Platform .
It is a container based application tool which have all the dependencies , library and binaries irrespective of the fact whatever OS it is .
Dear Abhishek you are doing a great service to the community. Sincerely thank you anna
Thanks alot
Question. What is multi stage build in docker ?
Ans. Concept of container itself is to keep it lightweight.
Multi stage build allows you to build your docker container in multiple stages allowing you to copy artifacts from one stage to other. The major advantages of this is to build light weight containers. All dependencies and heavy base image were required only in build stage
Final application build artifact(jar file) requires only Java runtime, not the dependencies required to build the application.
So, final image size will drop from 800 MB to 20 mb.
Ques. What are distroless images in docker
Ans. Containers are also exposed to security vulnerabilities, cuz they are minimal os, still. Some images such as ubuntu comes with os related vulnerabilities or MySQL related dependencies.
To solve this, image size was further shrunk. Distroless image are very very minimal such as scratch are hardly 1-2 mb. Instead of base image use distroless image. You don't even have basic command such as apt.
You have discussed all 12 questions previously, but get to know a few more points (real-time challenges and steps to secure containers) from the last 2 questions.
Thank you so much Abhishek 🙏
God Bless You 😇
😍😍😍
For the challenge of Docker Daemon as root, i used the concept of Apparmor. Bringing your docker up with Apparmor will bring up much more secure docker
Interesting .. I haven't tried that
Thanks Abhishek,The Docker concepts r very clear i have seen other courses previously but ur content gave me confidence..thanks again for bringing in good content for free ..even the paid courses dnt teach this much
Thanks a lot
Thank You Sir for day 23-29! I was really excited for docker & Kubernnetes.
I was able to answer 8 questions.
😎😎😎
As usual one stop solution for devops.. thanks a lot abhi and kudos to your efforts.
❤️
Thanks for sharing covering this Abhishek, Really Helpful. Hearing for the 1st time about "Sync" utility and how its helpful but able to answer all the questions.
Snyk
Much appreciated Abhishek, Really helpful for all kind of audiences in DevOps domain
Awesome
Great course 💗
Thanks for your support Jyothsna ❤️
this video gave real vibe of interview scenario thanks alot abhishek ...
You are most welcome
Abhishek you are the super star of the DevOps thank you so much
Hai Abhishek, you have explained all topics in much detailed way. Can you please make a small video to explaining the docker-compose and how this is useful to perform multiple docker services containers.
Please as per your free time do consider it Abhishek. Thank you
Ok noted .. sure
Thank you very much for letting me refresh docker knowledge in quickly.
Thanks alot
Thank you Abhishek.
This video is a gem.
As u said it's a crux of the docker videos you made.
The checkboxes as well 👌
Glad you liked it
Abhishek,
I wonder how neatly the course is arranged and thought. Just thinking of homework you have done to put these videos.
what is needed how much needed and what not to miss etc.
I got little interest while searching for virtualization and after watching your videos its like bundle of information neatly explained.
Going through the DevOps course. Thanks a lot for your efforts.
Thanks abhishek for sharing these informative Question.
Most welcome
Iam very much impressed with your classes please continue and cover some real time projects please use different build tools..cicd pipeline and use plug-in also sir..
Thanks, will do!
Thanks abhishek sir for the wonderful course content. I'm confident enough.
thank you sir , For giving me search a overall view how to secure the containers ,network secure
Amazing
TQ for sharing the video sir, it's help me a lot to understand what type of questions the interviewer is going to ask and u covered all topics in docker with clear explanation
I am waiting this video 😍 thnx sir
Awesome. Please share
Please create a blog on Podman vs Docker with a Hands-on project for production environment .
anna , also create a video or shorts on buildah as you told it resolves some of challenges of docker ..
There is a complete video
Anna , also add one on one connecting Li nk with you , I want to connect to you on that link
Bro very thanks please also make videos for docker swarm and docker compose. This will help us more in future.
Hey .. sure
Bro tell me how many real time projects in this playlist or else entire channel? And what are the day or video number?
Is that the projects can I mention my cv or not
For each topic there are projects. You can mention in cv
@@AbhishekVeeramallatq for your reply ❤
Thanks a lot brother..its very clear in networking concepts in docker as well as bridge and host network. Thank you soo much!!
Glad to hear that
all and very easily
🔥
Lovely, thank you. this is a valuable information
Glad it was helpful!
We would be delighted if you come up with a session on how to write a Dockerfile for real-time projects...Once again, thanks for our selfless work to the community, Abhishek Anna!! ♥
You are truly gem bhaiya❤
thanks alot
You are the best ❤️, thanks alot for the content/knowledge that you are sharing 😊
My pleasure!
Believe me
Aap Devops, Cloud computing ke IIT , IIM, IISC University sab kuch ho sir ❤
Thank you anna you are doing awesome anna you are irreplaceble with any one thank you so much from bottom
of my heart
just to point out one thing, the diagram which u have used for question 2 is wrong...n i really appreciate the way u explain things as well as i think 90% of the content is very relevant n real-time...Appreciate ur efforts bro...i'll donate some amount if u allow us to do so because creating content also needs resources
Hi Sagar .. Thanks for the support.
The diagram is taken from official docker website, I don't think it can be wrong :p .. okay on a serious note, what do you think is wrong ? Please share :)
You can become a member of our channel Sagar or reach out to me on LinkedIn
@@AbhishekVeeramalla actually i meant to say that diagram is less informative like in VM side of diagram u can see Host OS is totally missing and they have directly given Hypervisor which is not correct just that it creates confusion..but no worries once checked properly confusion gets cleared...
I got a few questions from this video Bro..at that moment I did not watch this video. How do we access application inside a container without using container port to debug some issue or etc.? this is one among them. Ur series gave me confidence Bro..
Docker exec you can use
Nice one 👏
Thanks alot
Hello, Thanks for the great DevOps playlist. I am learning a lot through your teachings.
I am just wondering if there is a video for docker swam or docker compose?
Can you also explain what is the difference between multi-stage docker builds and docker compose?
Yes there is a video on docker compose
@@AbhishekVeeramalla ok I will check it out
Thanks for your response
I have added all the question in md file and created a pull request. It will help others you can check it and merge,
Thanks
Thank you for the wonderful explanation🙂
Thanks a lot
Hi abhishek garu thanks for your videos,one of the interview question is how do you check the vulnerabilities of docker image we created. 2.What happens if you update the image to the existing will it overwrite? 3.What happens if you update the image while container is running?
1 - sync
2- Yes, if you update the image to the existing one, it will overwrite the existing image. This is because Docker images are immutable, meaning that they cannot be changed once they are created.
3 - If you update the image while a container is running, the container will continue to run the old image. The new image will not be applied to the running container until it is restarted.
@@normalman7076 thanks
Nice one. can you please include little more practical challenges that might you faced in a real time....
Sure .. Noted
hi abhishek firstly i thankful for providing valuable devops course in free. Can you make a deep dive in containers networking explaining overlay n/w , Macvlan
Thanks a lot, Abhi🙏
Welcome 🙏
about 8 questions, Can you have a full video on Docker compose.
Sure
Hi Abhishek, I have a question related to containers. What is the programmatic approach to checking the health of both the container and the application inside the container?
Hi Abhishek, you are doing an amazing job!!! Coming to my query, I am a bit confused when you say that scurity of containers is less compared to that of a VM, but the fact remains that in real world, containers in all probability will be set up on the VMs only, so it seems a contradiction, may be my fundamental understanding is wrong..
Hello Abhishek appreciate your efforts ,Thank you so much if you can share more interview questions or links that will be great help.
Sure
i got 9 correct bro. But i need to develop my english so that i can tell the answers in structured way
Abhishek, you introduced Buildah initially and is their any plan to make a session on it ? Also, could you please provide example for docker prune as well ..
Yes, there will be a session on Buildah . You can also refer to existing video on builah on my channel .. just search for Buildah in the videos
Thank you so much for teaching 💓
Thanks for the wonderful session, so this distroless image can be used only with multi stage docker container, Right ?
Mostly yess
Just thanks🎉
No one can explain in these days 😍
Thanks a lot
I know 8 questions
Very Good. Keep it up
nice explain. thanks.👍
Welcome
Superb
Thank you!
Great effort!! THANKS ALOT ❤
You're welcome 😊
Awesome job!!!!!
Thanks alot
You should be a udemy tutor... specially for those scenario based questions..
Hi Abhishek, If possible please add questions like - what are layers present in docker file with examples.
abhishek please do videos on docker swarm and docker compose
can we use 3-4 same containers in docker? so one goes down one will serve the application?
Aap itne acche kyun ho .....😊
May goddess Saraswati give you more and more knowlege....ahh but share it with us also ...😊
Thank you .
Thanks bro
No problem, Anytime
Thank youu Abhishek
10questions
Awesome sir again,
I answered 11 questions, need to improve the english more,
One question though sir, What are the benefits of joining UA-cam channel / benefit of Telegram channel?
Hi Abhishek sir,please make a viedio on docker swarm and docker compose
i can able to answer 9 questions..
9
Great
10
Perfect
Do make one video on current devops fresher job market also bcoz companies are only hiring exp people. No calls for fresher bro
Noted
Hey Abhishek, It will be great if u can share all questions and answers in file.
Sure I will next time
Hi Abhishek bro, how long can we sustain our career with Devops in the market if we learn?
33:40 u said if daemon goes down all app down right, so what are the reasons to daemon goes down and to fix the problem
make combo of one programming lang mysql and nginx real use cases
Noted
Hi bro ,
In question 11 , u told that running docker daemon as root is a challenge...am sorry ...bcoz i feel usually root users will be sysadmins and they will have good subject knowledge and why should it turn as security threat and challenge....
Pls help me understand
Tnx !!
9/12
10/12
Hi,
Difference between multi-Stage build vs docker-compose?
They are two completely different.
Multi stage build is used to copy artifact's from one stage to another and build light weight and more secure containers.
Docker compose is used to manage multiple containers in one file
Abhishek Sir, I could not find Join Button to your channel. how to join pls guide me.
Hey, Join button should be just beside the subscribe button
@@AbhishekVeeramalla is not showing. I am from Bangladesh. Is there any country specific?
34:18 How can we configure the resources ?
sir, casn you please explain about docker swarm and docker compose?
Docker swarm and compose are very less used .. so currently focus is Kubernetes
❤
❤️
in some docker file we can write so many cmd commands but its take latest cmd command(last cmd command) argument so what is purpose of other cmd
explain me
Explained in the previous videos. It is the starting command when u run a contianer.
For example, assume you have a docker image with python django app. If you don't write CMD ["python", "manage.py", "runserver"] .. user should manually login to the container and execute that command.
@@AbhishekVeeramalla thanks abhishek
What are the daily activities you do in docker? How to answer this question in interviews?
In interviews ,they ask from git, jenkins, docker, ansible, kubernetes, linux ,shell script, monitoring, troubleshooting, terraform, aws....My question is how to set interviewer expectation to only those parts in which i am strong as i having just knowledge on few components not having hands on....but if you dont mention these all in CV , no call and if we have just theoritical knowledge ,we get grilled .....so how to showcase our best tools so that we can ace interview....kindly suggest
Good question.. I will take this as a video
@@AbhishekVeeramalla Thanks for considering ,pls guide on this asap its a req...as i m in my interview process...so that will be of grt help...
@@jyotikansal191 Did you got any solution?
Could you please start a new. Series for freshers
This series is for freshers as well
Hello Abishek, thanks for all but I have a question would it reduce windows image as well? in terms of light weight? what about license term will work on this case for windows?
can we have more questions like related to storage driver,volume manager and space related Abhishek..