|
| 1 | +What is Docker? |
| 2 | +=============== |
| 3 | + |
| 4 | +Docker is a tool designed to make it easier to create, deploy, and run |
| 5 | +applications by using containers. Containers allow a developer to package |
| 6 | +up an application with all of the parts it needs, like libraries and other |
| 7 | +dependencies, and ship it all out as a single package. |
| 8 | + |
| 9 | +With the help of containers, the developer can rest assured that |
| 10 | +the application will run on other machines regardless of any |
| 11 | +customized settings his machine might have that could differ from the |
| 12 | +machine used for writing and testing the code. |
| 13 | + |
| 14 | +Unlike a virtual machine, rather than creating a whole virtual operating |
| 15 | +system, Docker allows applications to use the same kernel as the system |
| 16 | +that they're running on and only requires applications being shipped |
| 17 | +with things not already running on the host computer. This gives a |
| 18 | +significant performance boost and reduces the size of the application. |
| 19 | + |
| 20 | +What is a Docker Image and how is it different from a container? |
| 21 | +---------------------------------------------------------------- |
| 22 | + |
| 23 | +An image is an immutable file which contains required binaries and libraries |
| 24 | +needed to make a container and a running instance of an image is called |
| 25 | +a container. Images are composed of layers of other images. Images are |
| 26 | +created when we run the ``build`` command of Docker and containers are formed |
| 27 | +from these images when we use the ``run`` command of Docker. There can be |
| 28 | +many containers for the same image. |
| 29 | + |
| 30 | +For more information about Docker see the |
| 31 | +`official documentation <https://docs.docker.com/>`__. |
| 32 | + |
| 33 | +Installing Docker |
| 34 | +----------------- |
| 35 | + |
| 36 | +Docker installation guide for various operating systems can be found in the |
| 37 | +`official Docker installation instructions <https://docs.docker.com/engine/installation/>`__. |
| 38 | + |
| 39 | +.. note:: |
| 40 | + |
| 41 | + Docker images are usually very large. Downloading or pushing them over |
| 42 | + low bandwidth connections can be very slow. |
| 43 | + |
| 44 | + |
1 | 45 | coala as a Docker Image
|
2 | 46 | =======================
|
3 | 47 |
|
|
0 commit comments