{"id":6893,"date":"2019-10-07T09:36:34","date_gmt":"2019-10-07T09:36:34","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=6893"},"modified":"2021-11-16T07:03:48","modified_gmt":"2021-11-16T07:03:48","slug":"docker-interview-questions-and-answer-part-3","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/docker-interview-questions-and-answer-part-3\/","title":{"rendered":"Docker Interview Questions and Answer Part &#8211; 3"},"content":{"rendered":"\n<ol class=\"wp-block-list\"><li>Whats is docker?<\/li><li> Difference between container &amp; VMs?<\/li><li> Difference between Docker &amp; Virtualization?<\/li><li> Difference between container and image?<\/li><li> How image builds?<\/li><li> What are image layers?<\/li><li> How image layers work?<\/li><li> What is overlayfs?<\/li><li> Where the image layes can be found in which directory?<\/li><li> How can we check the content of each layer?<\/li><li> How to check the layers stacked with image?<\/li><li> What is Union Mount &amp; AUFS?<\/li><li> Why use Union mount system for Docker?<\/li><li> What are the 3 different directories in \/var\/lib\/docker\/aufs?<\/li><li> How to run an image?<\/li><li> How to tag an image?<\/li><li> How to Link one container with another?<\/li><li> How do you sequence the containers? A first then B should execute after that?<\/li><li> How to create a volume in docker container to store data?<\/li><li> How to mount a local directory into a container?<\/li><li> How to expose a port no to access container?<\/li><li> What is entrypoint in docker?<\/li><li> What is dockerfile?<\/li><li> Difference between ADD &amp; COPY parameters in dockerfile?<\/li><li> How to create a bridge in container?<\/li><li> How a container gets an internal IP?<\/li><li> Can we check the process of a container inside as well as outside the container?<\/li><li> Can we check the container process on docker host?<\/li><li> How kernel isolates to run the container and how resources managed by the kernel?<\/li><li> What is namespace and cgroups?<\/li><li> What is docker-compose and docker-swarm?<\/li><li> How you can give different network IP to the container?<\/li><li> What are the parameters of dockerfile?<\/li><li> Is there any windows container also available?<\/li><li> How to stop a container?<\/li><li> How to run a container in background?<\/li><li> How to go inside a container if container is running in background?<\/li><li> How to check running containers?<\/li><li> How to remove an image?<\/li><li> How to run an image which is in tar format?<\/li><li> Command to check the process of a container?<\/li><li> How to check resource utilisation of a container<\/li><li> How to create an image?<\/li><li> How to save changes of a container?<\/li><li> What are registries?<\/li><li> Difference between docker commands: up, run &amp; start?<\/li><li> Can we run more than one process in a container?<\/li><\/ol>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_29524\"><iframe loading=\"lazy\"  id=\"_ytid_17113\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_29524\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Whats is docker? Difference between container &amp; VMs? Difference between Docker &amp; Virtualization? Difference between container and image? How image builds? What are image layers? How image layers work? What&#8230; <\/p>\n","protected":false},"author":1,"featured_media":8218,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[4862],"tags":[],"class_list":["post-6893","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=6893"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6893\/revisions"}],"predecessor-version":[{"id":25395,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6893\/revisions\/25395"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/8218"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=6893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=6893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=6893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}