What is Docker in simple terms?
Docker is a tool that packages an app and everything it needs (code, runtime, libraries and settings) into a container, so it runs the same way on a laptop, a server or the cloud. It ends the “works on my machine” problem.
What is Docker used for?
Docker is used to give every developer the same environment, to run tests and builds in CI/CD pipelines, to ship apps to servers and cloud platforms, and to self-host software such as databases, dashboards and home-lab services with one command.
Is Docker a virtual machine?
No. A virtual machine runs a full guest operating system on virtual hardware. A Docker container is an isolated process that shares the host’s operating system kernel, so it is much smaller and starts in about a second. On Mac and Windows, Docker Desktop runs one small Linux VM in the background to host Linux containers.
What is the difference between a Docker image and a container?
An image is a read-only package built from a Dockerfile, like a recipe that has been cooked and frozen. A container is a running instance of that image. You can start many containers from one image, and each gets its own writable layer.
What is the difference between Docker and Kubernetes?
Docker builds images and runs containers, usually on one machine. Kubernetes orchestrates containers across many machines: it schedules them, restarts failed ones, scales them up and down and balances traffic. Many teams build with Docker and run in production on Kubernetes.
Is Docker free?
Docker Engine, the open-source core that runs containers on Linux, is free. Docker Desktop is free for personal use, education, open-source projects and small businesses; larger companies need a paid subscription under Docker’s terms. Check Docker’s current pricing page for the exact thresholds.