Skip to content

Docker And Containers

Master Docker And Containers with 51 free flashcards. Study using spaced repetition and focus mode for effective learning in Technology.

🎓 51 cards ⏱️ ~26 min Advanced
Study Full Deck →
Share: 𝕏 Twitter LinkedIn WhatsApp

🎯 What You'll Learn

Preview Questions

12 shown

What is a container in computing?

Show ▼

A container is a lightweight, standalone, executable package that includes everything needed to run a piece of software, such as code, runtime, libraries, and dependencies, isolated from the host system.

What is containerization?

Show ▼

Containerization is a virtualization method that packages an application and its dependencies into a container, enabling consistent deployment across different environments without hypervisor overhead.

What is Docker?

Show ▼

Docker is an open-source platform that automates the deployment, scaling, and management of applications inside containers using containerization technology.

What is the difference between a container and a virtual machine?

Show ▼

Containers share the host OS kernel and are lightweight, starting in seconds, while virtual machines include a full guest OS, making them heavier and slower to boot.
Containers virtualize at the OS level; VMs at the hardware level.

What is a Docker image?

Show ▼

A Docker image is a read-only template containing the application code, libraries, dependencies, and configurations needed to create a container.

What is a Docker container?

Show ▼

A Docker container is a runnable instance of a Docker image, providing an isolated environment for running applications.

What is Docker Hub?

Show ▼

Docker Hub is a public registry service where users can store, share, and manage Docker images for easy access and distribution.

How do you install Docker on a Linux system?

Show ▼

On Ubuntu, add Docker's official GPG key, set up the repository, update package index, and install via sudo apt install docker-ce, then start and enable the service.

What is the Docker daemon?

Show ▼

The Docker daemon (dockerd) is a persistent background process that manages Docker objects like images, containers, networks, and volumes via the Docker API.

What command lists all Docker images?

Show ▼

docker images or docker image ls displays a list of locally available Docker images with details like repository, tag, ID, and size.

What does <code>docker pull</code> do?

Show ▼

docker pull <image> downloads a Docker image from a registry like Docker Hub to your local machine for use in creating containers.

How do you build a Docker image from a Dockerfile?

Show ▼

Use docker build -t <name:tag> . in the directory containing the Dockerfile; the . specifies the build context as the current directory.

🎓 Start studying Docker And Containers

🎮 Study Modes Available

🔄

Flashcards

Flip to reveal

🧠

Focus Mode

Spaced repetition

Multiple Choice

Test your knowledge

⌨️

Type Answer

Active recall

📚

Learn Mode

Multi-round mastery

🎯

Match Game

Memory challenge

Related Topics in Technology

📖 Learning Resources