Docker Interview questions
- What is Container and Docker?
- What is Virtulization and How docker is diff from Virtulization?
- What are advantages and disadvantages of docker?
- What is container and Image?
- Explain Docker Container lifecycle
- What are the Networking adapters supported by docker?
- How we can persistent container data?
- How we can enter in to command or how to we can run command in container?
- What does the volume parameter do in a docker run command?
- What is the main difference between the approaches of Docker and standard hypervisor virtualization?
- what is the docker save and docker load commands?
- What is the default Docker network driver,
- What are a Docker container’s possible states, and what do they mean? How can you change it when running a Docker image?
- What is a Docker image? What is a Docker image registry?
- What is container orchestration and why should we use it?
- What features are provided by Docker Enterprise Edition instead of Docker Community Edition?
- Is there any problem with just using the latest tag in a container orchestration environment?
- What is considered best practice for image tagging?
- What is Docker Swarm and which network driver should be used with it?
- What are the possible ways of using insecure Docker image registries?
- What is Docker Compose? What can it be used for?
- How do you scale your Docker containers?
- How to build envrionment-agnostic systems with Docker?
- What are the most common instructions in Dockerfile?
- What type of applications – Stateless or Stateful are more suitable for Docker Container?
- Explain basic Docker usage workflow?
- How will you monitor Docker in production?
- What is an orphant volume and how to remove it?
- How is Docker different from a virtual machine?
- Can you explain Dockerfile ONBUILD instruction?
- Is it good practice to run stateful applications on Docker? What are the scenarios where Docker best fits in?
- Can you run Docker containers natively on Windows?
- How does Docker run containers in non-Linux systems?
- How containers works at low level?
- Name some limitations of containers vs VM?
- Why Docker compose does not wait for a container to be ready before moving on to start next service in dependency order?
- What is Docker file and how we can create image from Dockerfile?
- What are the Differances between Dockerfile and DockerCompose
- Tell Important Instructions used in Dockerfile
- What are the differences between COPY and ADD in Dockerfile
- What are the differences between CMD and RUN
- What are the differences between ENTRYPOINT and CMD
- What is dockerhub and DTR
- What are the disadvantages of using dockerhub
- What is Amazon ECR? how to push image to ECR?
- What is DTR and how we can secure image push to Docker Registry?
- What are the differences between Docker PUll and Docker push?
- What is docker commit command ? How we can create image from container?
- What is docker service ?command to create docker service
- What is docker stack ? How to create stack ?
- what are the differences between docker compose vs stack?
- What is .dockerignore file?why we will use in Dockerfile?
- What is docker machine? explain the command using drivers for AWS and Azure?
- What is docker swarm ? how we can create docker swarm and how we can add nodes?
- is docker swarm supports multi manager docker swarm cluster?
- How to promote docker worker in to manager in docker swarm
- How to list nodes in docker swarm?
- How to attach volume to Docker container and service
- What is docker tmpfs volume?
- What is multistage docker files?
- What are the advantages of using multistage docker file?
- How we can perform update and rollback in docker swarm?
- What are the differences between docker swarm and kubernetes
- Explain docker compose /docker stack file format
- How we can link two containers?
- Explain how we can integrate docker with Jenkins for CI and CD
Leave a Reply