What Is Docker
Part of the Introduction to Docker section of Coddy's Terminal journey — lesson 1 of 40.
Docker is a tool for packaging an application together with everything it needs to run (code, libraries, settings) into a single unit called a container.
A container always runs the same way, whether it is on your laptop, a teammate's machine, or a server in the cloud. This solves the classic "it works on my machine" problem.
You control Docker from the terminal with the docker command.
To check that Docker is available and see its version, run:
docker --versionThis prints the installed Docker version, confirming the tool is ready to use.
Challenge
BeginnerRun docker --version to confirm Docker is installed and see which version you are using.
Cheat sheet
Docker packages an application with everything it needs into a container that runs consistently across any machine.
Check Docker is available and see its version:
docker --versionTry it yourself
This lesson includes a short quiz. Start the lesson to answer it and track your progress.