eli5: Dockerization and docker files

463 viewsOtherTechnology

Understand the idea of “packaging” code to some degree, but why would this process need to be done? What is being resused and changing in the process to require scalability and efficiency that is described with the benefits of dockerization? It’s just not registering. Thanks.

In: Technology

7 Answers

Anonymous 0 Comments

Your computer has many different things installed including libraries, programs, drivers, etc. The exact nature of what you have installed is going to be different than that of everyone else, and slight discrepancies can cause something to work properly on one machine and not on another. Docker images basically pretend to be a fresh slate; what’s installed on your computer doesn’t interact with what is in the docker image for the most part. It doesn’t matter what device you are using it on, it should behave the same way on any device. The Dockerfile describes how to create that environment.

At the core, Docker acts like anything within the container is in its own separate operating system, but it’s much more efficient than emulating a full operating system.

You are viewing 1 out of 7 answers, click here to view all answers.