Online Inter College
BlogArticlesGuidesCoursesLiveSearch
Sign InGet Started

Stay in the loop

Weekly digests of the best articles — no spam, ever.

Online Inter College

Stories, ideas, and perspectives worth sharing. A modern blogging platform built for writers and readers.

Explore

  • All Posts
  • Search
  • Most Popular
  • Latest

Company

  • About
  • Contact
  • Sign In
  • Get Started

© 2026 Online Inter College. All rights reserved.

PrivacyTermsContact
HomePracticeQuestion BankDocker & Containers — Fundamentals

Docker & Containers — Fundamentals

Practice questions on Docker fundamentals, container lifecycle, images, Dockerfiles, networking, and Docker Compose for beginners and intermediate learners.

10 questions
Beginner
Free
01

What is a Docker image?

Docker Concepts
BeginnerMCQ
View →
02

Which command builds a Docker image from a Dockerfile in the current directory?

Docker CLI
BeginnerMCQ
View →
03

Docker containers share the host OS kernel, unlike virtual machines which run a full OS.

Docker Concepts
BeginnerTrue / False
View →
04

What Dockerfile instruction sets the working directory inside the image?

Dockerfile
BeginnerMCQ
View →
05

Which flag in 'docker run' maps a container port to a host port?

Docker CLI
BeginnerMCQ
View →
06

What is Docker Compose used for?

Docker Compose
BeginnerMCQ
View →
07

A Docker volume persists data even after the container is deleted.

Storage
BeginnerTrue / False
View →
08

Which command lists all running Docker containers?

Docker CLI
BeginnerMCQ
View →
09

What does the EXPOSE instruction in a Dockerfile do?

Dockerfile
IntermediateMCQ
View →
10

Which Dockerfile instruction is the entry point command that runs when the container starts?

Dockerfile
BeginnerMCQ
View →