Docker — What Is It?

This week I had a technical code challenge in which I had to use Docker for the first time. I got it up and running, but with no idea of what it was or why I was using it. Here, I’m going to save you a Google visit and tell you what you need to know.

According to the Docker website,

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.

What does this mean? I didn’t know either. To translate, Docker allows you to ship, test, and deploy code quickly. It cuts down the time between writing code and running it, which makes it worth learning. It allows you to put together and run your app from an environment called a container, which contains everything you will need to run your app. The great part about Docker is it allows you to run multiple containers from the same host.

Docker allows developers to write code in their local files and share these files with their work partners using containers. It would allow devs to push their apps into a test environment and run these tests. They can fix the bugs found in their tests, fix them within Docker, and rerun the tests again to check for more bugs. When the app is fixed, the dev is able to push the updated image to the production environment. Again, this all happens within Docker!

As you can see, Docker can save developers lots of production time. It is an amazing tool that is worth taking the time to learn in order to save time and frustration in the long run.

Software Engineering Student @ Flatiron Denver. Located in Austin, TX