Day-29 | Docker Interview Questions with Answers | How many can you answer ? | Comment your score

Поділитися
Вставка
  • Опубліковано 21 сер 2024

КОМЕНТАРІ • 208

  • @ritiktiwari2886
    @ritiktiwari2886 Рік тому +64

    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.

  • @tanujarora4906
    @tanujarora4906 27 днів тому +3

    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

    • @vishnukumar4595
      @vishnukumar4595 22 дні тому

      could u pls let m know how many years xp do u have ?

  • @Cloudnp9458
    @Cloudnp9458 5 місяців тому +8

    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.

  • @Rishabh_563
    @Rishabh_563 Рік тому +38

    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 )

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому +17

      Agree .. on to the point .. Missed it during the video .. Thanks for adding it here :)

  • @RM-xu3dv
    @RM-xu3dv Рік тому +12

    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. 🙏👍👌

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому

      Thanks alot brother

    • @santhoshar8816
      @santhoshar8816 Рік тому +1

      @@AbhishekVeeramalla annaya paid course cheyyaindi many others are also doing but they are not crystal clear about concepts

  • @user-py3jn8lv4r
    @user-py3jn8lv4r Рік тому +10

    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

  • @sravanimunaga
    @sravanimunaga Рік тому +3

    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

  • @aayushibajajofficial
    @aayushibajajofficial 5 місяців тому +3

    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 .

  • @harikrishna3258
    @harikrishna3258 Рік тому +5

    Dear Abhishek you are doing a great service to the community. Sincerely thank you anna

  • @Cloudnp9458
    @Cloudnp9458 5 місяців тому +2

    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.

  • @sumansamanta330
    @sumansamanta330 6 місяців тому +2

    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 😇

  • @TeenaKohli
    @TeenaKohli Рік тому +2

    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

  • @neelimagopu3743
    @neelimagopu3743 Рік тому +4

    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

  • @Rorschach_ind
    @Rorschach_ind Рік тому +3

    Thank You Sir for day 23-29! I was really excited for docker & Kubernnetes.
    I was able to answer 8 questions.

  • @RhythmicGalaxia
    @RhythmicGalaxia 3 місяці тому +1

    As usual one stop solution for devops.. thanks a lot abhi and kudos to your efforts.

  • @Vishwask22
    @Vishwask22 9 місяців тому +2

    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.

  • @SivakumarA-lx5dj
    @SivakumarA-lx5dj Рік тому +2

    Much appreciated Abhishek, Really helpful for all kind of audiences in DevOps domain

  • @vysyarajujyothsna6731
    @vysyarajujyothsna6731 Рік тому +4

    Great course 💗

  • @yaminiprasad2194
    @yaminiprasad2194 11 місяців тому +2

    this video gave real vibe of interview scenario thanks alot abhishek ...

  • @ezapindira7121
    @ezapindira7121 Рік тому +1

    Abhishek you are the super star of the DevOps thank you so much

  • @sangativamsikrishna1691
    @sangativamsikrishna1691 Рік тому +2

    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

  • @TeenaKohli
    @TeenaKohli Рік тому +2

    Thank you very much for letting me refresh docker knowledge in quickly.

  • @PaulSmith-bx2fq
    @PaulSmith-bx2fq 3 місяці тому +1

    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 👌

  • @connectarunkumar
    @connectarunkumar Місяць тому

    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.

  • @manojpal1496
    @manojpal1496 9 місяців тому +1

    Thanks abhishek for sharing these informative Question.

  • @HarryPotter-hf7so
    @HarryPotter-hf7so Рік тому +2

    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..

  • @karthickkumar5830
    @karthickkumar5830 8 місяців тому

    Thanks abhishek sir for the wonderful course content. I'm confident enough.

  • @user-sl5jq8kr4c
    @user-sl5jq8kr4c 8 місяців тому +1

    thank you sir , For giving me search a overall view how to secure the containers ,network secure

  • @balachandrudu523
    @balachandrudu523 Рік тому

    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

  • @abrarsyed7177
    @abrarsyed7177 Рік тому +2

    I am waiting this video 😍 thnx sir

  • @soumyadipchatterjee2267
    @soumyadipchatterjee2267 7 місяців тому +1

    Please create a blog on Podman vs Docker with a Hands-on project for production environment .

  • @g.s.v.r2686
    @g.s.v.r2686 5 місяців тому +3

    anna , also create a video or shorts on buildah as you told it resolves some of challenges of docker ..

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  5 місяців тому

      There is a complete video

    • @g.s.v.r2686
      @g.s.v.r2686 5 місяців тому

      Anna , also add one on one connecting Li nk with you , I want to connect to you on that link

  • @UdayKumar-tu1is
    @UdayKumar-tu1is Рік тому +2

    Bro very thanks please also make videos for docker swarm and docker compose. This will help us more in future.

  • @rameshgedela1559
    @rameshgedela1559 8 місяців тому +3

    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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  8 місяців тому +1

      For each topic there are projects. You can mention in cv

    • @rameshgedela1559
      @rameshgedela1559 8 місяців тому

      ​@@AbhishekVeeramallatq for your reply ❤

  • @venkateshmyadam3930
    @venkateshmyadam3930 Рік тому +1

    Thanks a lot brother..its very clear in networking concepts in docker as well as bridge and host network. Thank you soo much!!

  • @shivishdurkalhan-dev
    @shivishdurkalhan-dev 7 місяців тому +2

    all and very easily

  • @virupakshappabandi
    @virupakshappabandi Рік тому +1

    Lovely, thank you. this is a valuable information

  • @navneet6447
    @navneet6447 4 місяці тому

    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!! ♥

  • @gauravsinghjethuri5405
    @gauravsinghjethuri5405 Рік тому +1

    You are truly gem bhaiya❤

  • @RadhikareddyOdeti
    @RadhikareddyOdeti 8 місяців тому +1

    You are the best ❤️, thanks alot for the content/knowledge that you are sharing 😊

  • @mohdrayees8919
    @mohdrayees8919 2 місяці тому

    Believe me
    Aap Devops, Cloud computing ke IIT , IIM, IISC University sab kuch ho sir ❤

  • @rajudhil5162
    @rajudhil5162 6 місяців тому

    Thank you anna you are doing awesome anna you are irreplaceble with any one thank you so much from bottom
    of my heart

  • @sagarahire-ys3uj
    @sagarahire-ys3uj Рік тому +4

    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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому +1

      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

    • @sagarahire-ys3uj
      @sagarahire-ys3uj Рік тому

      @@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...

  • @ammabalasimha
    @ammabalasimha Місяць тому

    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..

  • @bhavyab3600
    @bhavyab3600 Рік тому +3

    Nice one 👏

  • @keerthiamulya1015
    @keerthiamulya1015 4 місяці тому +1

    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?

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  4 місяці тому

      Yes there is a video on docker compose

    • @keerthiamulya1015
      @keerthiamulya1015 4 місяці тому

      @@AbhishekVeeramalla ok I will check it out
      Thanks for your response

  • @scorcismweb5723
    @scorcismweb5723 Рік тому +1

    I have added all the question in md file and created a pull request. It will help others you can check it and merge,

  • @thanvikamadhala-ip7kg
    @thanvikamadhala-ip7kg Рік тому +1

    Thank you for the wonderful explanation🙂

  • @Sai-cc5wh
    @Sai-cc5wh Рік тому

    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?

    • @normalman7076
      @normalman7076 10 місяців тому

      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.

    • @nakshatra2131
      @nakshatra2131 6 місяців тому

      ​@@normalman7076 thanks

  • @SureshKumar-fi4vh
    @SureshKumar-fi4vh Рік тому +3

    Nice one. can you please include little more practical challenges that might you faced in a real time....

  • @narayanamsandeep4848
    @narayanamsandeep4848 2 місяці тому

    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

  • @ashishpandey8766
    @ashishpandey8766 6 місяців тому +1

    Thanks a lot, Abhi🙏

  • @ameyambekar2221
    @ameyambekar2221 Рік тому +2

    about 8 questions, Can you have a full video on Docker compose.

  • @NikhilJorrigala-d6x
    @NikhilJorrigala-d6x 12 днів тому

    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?

  • @nitinkulkarni2010
    @nitinkulkarni2010 2 місяці тому

    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..

  • @immuind2009
    @immuind2009 Рік тому +1

    Hello Abhishek appreciate your efforts ,Thank you so much if you can share more interview questions or links that will be great help.

  • @rathinadevan6817
    @rathinadevan6817 10 місяців тому

    i got 9 correct bro. But i need to develop my english so that i can tell the answers in structured way

  • @saikumarthatikonda2007
    @saikumarthatikonda2007 Рік тому +2

    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 ..

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому

      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

  • @missy2904
    @missy2904 5 місяців тому

    Thank you so much for teaching 💓

  • @TheProductionEnvironment
    @TheProductionEnvironment Рік тому +2

    Thanks for the wonderful session, so this distroless image can be used only with multi stage docker container, Right ?

  • @kamranastanov5016
    @kamranastanov5016 Рік тому +1

    Just thanks🎉

  • @dhanyanagarajuvitala5854
    @dhanyanagarajuvitala5854 Рік тому

    No one can explain in these days 😍

  • @techfeeds7589
    @techfeeds7589 Рік тому +2

    I know 8 questions

  • @faisaliqbal7382
    @faisaliqbal7382 Рік тому +1

    nice explain. thanks.👍

  • @amolpatil6196
    @amolpatil6196 8 місяців тому +1

    Superb

  • @boppana999
    @boppana999 11 місяців тому +1

    Great effort!! THANKS ALOT ❤

  • @vback4238
    @vback4238 Рік тому +1

    Awesome job!!!!!

  • @lolitaad19
    @lolitaad19 5 місяців тому +2

    You should be a udemy tutor... specially for those scenario based questions..

  • @vikasdhandar7464
    @vikasdhandar7464 11 місяців тому

    Hi Abhishek, If possible please add questions like - what are layers present in docker file with examples.

  • @user-dx4kg9np8h
    @user-dx4kg9np8h 6 місяців тому

    abhishek please do videos on docker swarm and docker compose

  • @AmrutaWagh-kb3yv
    @AmrutaWagh-kb3yv Рік тому +1

    can we use 3-4 same containers in docker? so one goes down one will serve the application?

  • @praveenkumar-star
    @praveenkumar-star 10 місяців тому

    Aap itne acche kyun ho .....😊
    May goddess Saraswati give you more and more knowlege....ahh but share it with us also ...😊

  • @nayangogoi744
    @nayangogoi744 11 місяців тому

    Thank you .

  • @sreniivass
    @sreniivass Рік тому +1

    Thanks bro

  • @joshuajuwon3342
    @joshuajuwon3342 3 місяці тому

    Thank youu Abhishek

  • @supremewaterproofingco.6592
    @supremewaterproofingco.6592 3 місяці тому

    10questions

  • @fromhousesheoran
    @fromhousesheoran 9 місяців тому

    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?

  • @Dcp23-pn1vj
    @Dcp23-pn1vj 6 місяців тому

    Hi Abhishek sir,please make a viedio on docker swarm and docker compose

  • @rambabudonthiboyina8476
    @rambabudonthiboyina8476 10 місяців тому

    i can able to answer 9 questions..

  • @anilakula4381
    @anilakula4381 11 місяців тому +1

    9

  • @maharshibhatnagar1384
    @maharshibhatnagar1384 11 місяців тому +1

    10

  • @Vicky-ym3dp
    @Vicky-ym3dp Рік тому +1

    Do make one video on current devops fresher job market also bcoz companies are only hiring exp people. No calls for fresher bro

  • @manishkumawat011
    @manishkumawat011 9 місяців тому +1

    Hey Abhishek, It will be great if u can share all questions and answers in file.

  • @pittavarun1647
    @pittavarun1647 Рік тому +1

    Hi Abhishek bro, how long can we sustain our career with Devops in the market if we learn?

  • @kattasomasekhar2507
    @kattasomasekhar2507 23 дні тому

    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

  • @vijaybhatt8060
    @vijaybhatt8060 Рік тому +1

    make combo of one programming lang mysql and nginx real use cases

  • @nelsontalks._.
    @nelsontalks._. 3 місяці тому

    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 !!

  • @charankumar3536
    @charankumar3536 5 місяців тому

    9/12

  • @poojam-ou6rw
    @poojam-ou6rw Рік тому

    10/12

  • @ashishvishwanath9469
    @ashishvishwanath9469 Рік тому +1

    Hi,
    Difference between multi-Stage build vs docker-compose?

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому

      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

  • @agun21st
    @agun21st Рік тому +2

    Abhishek Sir, I could not find Join Button to your channel. how to join pls guide me.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому +1

      Hey, Join button should be just beside the subscribe button

    • @agun21st
      @agun21st Рік тому

      @@AbhishekVeeramalla is not showing. I am from Bangladesh. Is there any country specific?

  • @Adityaa2
    @Adityaa2 Рік тому +1

    34:18 How can we configure the resources ?

  • @HemaLatha-nd3zv
    @HemaLatha-nd3zv Рік тому +1

    sir, casn you please explain about docker swarm and docker compose?

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому

      Docker swarm and compose are very less used .. so currently focus is Kubernetes

  • @tanmoysantra1112
    @tanmoysantra1112 Рік тому +1

  • @vijaybhatt8060
    @vijaybhatt8060 Рік тому +2

    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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому +1

      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.

    • @vijaybhatt8060
      @vijaybhatt8060 Рік тому

      @@AbhishekVeeramalla thanks abhishek

  • @prachi5787
    @prachi5787 5 місяців тому

    What are the daily activities you do in docker? How to answer this question in interviews?

  • @jyotikansal191
    @jyotikansal191 Рік тому +1

    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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому +1

      Good question.. I will take this as a video

    • @jyotikansal191
      @jyotikansal191 Рік тому

      @@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...

    • @saradalekshmipr3489
      @saradalekshmipr3489 9 місяців тому

      @@jyotikansal191 Did you got any solution?

  • @anandhucr2131
    @anandhucr2131 Рік тому +1

    Could you please start a new. Series for freshers

  • @lakshmant9215
    @lakshmant9215 8 місяців тому

    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?

  • @bikensharma4577
    @bikensharma4577 11 місяців тому

    can we have more questions like related to storage driver,volume manager and space related Abhishek..