{"id":6882,"date":"2019-10-07T08:54:38","date_gmt":"2019-10-07T08:54:38","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=6882"},"modified":"2021-11-16T07:08:54","modified_gmt":"2021-11-16T07:08:54","slug":"docker-interview-questions-and-answer-part-2","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/docker-interview-questions-and-answer-part-2\/","title":{"rendered":"Docker Interview Questions and Answer Part &#8211; 2"},"content":{"rendered":"\n<ol class=\"wp-block-list\"><li>What is Docker compose?<\/li><li> What is Docker server version?<\/li><li> What are the advantages of Docker?<\/li><li> How do you setup Docker in Jenkins in production environment?<\/li><li> How do create Docker image from Docker file?<\/li><li> How do you deploy the Docker image generated in the testing environment to production environment in Jenkins?<\/li><li> What is Docker data centre?<\/li><li> What is Docker hub &amp; uses?<\/li><li> What are the types of Docker networks?<\/li><li> How do you define network in the Docker compose file?<\/li><li> What are the basic parameters required in the Docker compose file?<\/li><li> What is Docker interlock?<\/li><li> What is overlay networking?<\/li><li> How to communicate between 2 containers present in separate network?<\/li><li> How to store the data present in the Docker container in the AWS?<\/li><li> If we define the Docker volume in the docker compose file is it possible to share data with the EFS, NFS?<\/li><li> Differnce between image and container<\/li><li> How to Run containers<\/li><li> Why we need to mention dual ports(8080:8080) in docker run command<\/li><li> Differnce between Copy and Add<\/li><li> Difference between docker compose and docker swarm<\/li><li> Why we need to use docker compose?<\/li><li> Tell me about Docker Network<\/li><li> What is the difference between Docker Swarm ,Compose and Kubernetes ?<\/li><li> How does the containers communicate when the containers are running in different hosts?<\/li><li> What is the difference between CMD and RUN <\/li><li> How can you transfer the data from one container to another ?<\/li><li> What is docker why we are using docker  difference between vm?<\/li><li> What is docker cloud &amp; how it is different from docker hub what is the features over docker hub ?<\/li><li> What is docker compose?<\/li><\/ol>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_16355\"><iframe loading=\"lazy\"  id=\"_ytid_82803\"  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_16355\"  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>What is Docker compose? What is Docker server version? What are the advantages of Docker? How do you setup Docker in Jenkins in production environment? How do create Docker image&#8230; <\/p>\n","protected":false},"author":1,"featured_media":8335,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[4862],"tags":[],"class_list":["post-6882","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\/6882","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=6882"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6882\/revisions"}],"predecessor-version":[{"id":25401,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6882\/revisions\/25401"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/8335"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=6882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=6882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=6882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}