Fundamentals of Docker

what are the three main parts of docker?

Angelo Poole
Oct 19, 2020
Photo by ammiel jr on Unsplash

What is docker? According to docs.docker.com:

Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications.

Docker runs on three main fundamental concepts.
- a docker file
- an image
- Containers

A dockerfile tells the code how to build out an image, basically, it asks for the os and the building steps in order to unpack containers and run them.

An image is a snapshot of your software dependencies all the way done to the operating system level, basically, everything needed in order to replicate your software on another system

Containers are the code that will run on hardware and can be packed and unpacked. these can be run on multiple machines later on down the road as you expand your software and increase the scope of your code.

--

--

Angelo Poole

Software engineer, Graduate of Flatiron school. Currently volunteering! Looking to talk to fellow engineers, please send me a message!