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

Are all Scrum Masters in eternal pursuit of a Fata Morgana?

Feeling the Pinch? How will you control your IT spend & save money (and the company)?

Stop talking so much about the different Scrum roles

Kubernetes: Virtual Clusters For CI/CD & Testing

Coding faster: Make it work, then make it good

“Make it work, make it right, make it fast” — Kent Beck

Migrating an Oracle instance to AWS RDS Aurora Postgresql using Terraform

Parallel Build with Jenkins Pipeline!

C#/VB.NET: Create, Use and Delete Named Ranges in Excel

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

Checking your python code format on Azure Pipelines

CI-CD Operations with Github Actions

Linux Shell Programming: Creating Your First Shell Script

What is a Jenkins agent? And creating a Jenkins SSH Agent via the