Docker 101: Basic Theory

  1. firstly, we create our image using a Dockerfile (it’s just a text file called “Dockerfile”)
  2. we build the image into a container using “docker build . ” (assuming we are located at the directory of the Dockerfile)
  3. from the terminal we locate our built container’s ID using “docker ps -all
  4. we use that ID to run the container using “docker run <container_id>
  5. and voila 🎉 we have a running container




Future Networks Consultant @ Net Reply

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Working without Sprint Goals guarantees technical debt

Automated Code Reviews & The Future of Code Quality

Tech Radar on Event Streaming Platforms

Using SingleStore as a Kafka Producer

Flutter Hot Reload

Inside the War Room of a Billion Euro Company Website Launch on AWS

Am I a “real” Software Engineer yet?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Patricia Hudakova

Patricia Hudakova

Future Networks Consultant @ Net Reply

More from Medium

Working with Pulumi Objects and Python Serialization

Singleton pattern in python libraries

Measuring Code Execution Time Using Stopwatch

How to send Messages in Microsoft Teams using Incoming Webhook Adaptive Card