Docker Basics

What are Docker Containers and Why Use Them?

Underlying Principles of Docker Containers

Workflow

  1. Create an image by preparing your application code and writing a Dockerfile.
  2. Build the Docker image.
  3. Run the Docker container based on that image.
  4. Commit the image to Docker Hub.

Create an Image

Figure 1 — Source: [1]

Build an Image

Run the Container

Commit to Docker Hub

Other Useful Commands

References

--

--

--

PhD student in Mechanical Engineering (personal blog: https://sassafras13.github.io/)

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

Recommended from Medium

A quick guide to instantiation and destruction in Unity

So happy to be accepted and progress not only to stage 1, but also to stage 2 of the hackbio…

https://t.me/MuskElon_bot?start=r0751588446

Utilisation of SCRUM in Amazon and Spotify

Accounts Payable rising star, Lightyear, announces the world’s first automated line item 3-Way PO…

Coding Standard

OpenJDK Loom and Structured Concurrency

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
Emma Benjaminson

Emma Benjaminson

PhD student in Mechanical Engineering (personal blog: https://sassafras13.github.io/)

More from Medium

Getting Started with RESTful Web Services

What’s RESTful API? #From Zero to One

Git and GitHub : master your important tool as a developer .

Making web requests using the terminal

Making web requests using the Terminal