Many developer people are saying, "I am really exiting about docker." Because every body keep saying docker is awesome. So today we are going to learn about Docker.
What is Docker?
Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package.
By doing so, thanks to the container, the developer can reset assured that the application will run on any other linux machine regardless of any customized settings that machine might have that could differ from the machine used for writing and the testing code.
Docker is bit a like a virtual machine. But unlike a virtual machine, rather than creating a whole virtual operating system, docker allows applications to use the same linux kernel as the system that they are running on and only requires applications be shipped with things not already running on the host computer. So this gives a significant performance boost and reduce the size of application. The most important thing is Docker is open source. So anyone can doing their own things and share to others.
In high level,
These containers contains the real ,
1. Operating System
2. Software that you build
3. Dependencies to run the software's (Like pre-requisite software)
Docker is like a container,
What are "Containers" and "VMs"?
Virtual machines include the application, the necessary binaries and libraries, and an entire guest operating system -- all of which can amount to tens of GBs.
Containers include the application and all of its dependencies, but share the kernel with other containers, running as isolated processes in user space on the host operating system. Docker can run on any computer, on any infrastructure, and in any cloud.
Containers and VMs are similar but not same. Both are can isolate an application and its dependencies into a self-contained unit that can run anywhere.
The main different between containers and VMs is in their architectural approach.
Docker for Windows is available from,
1. Server 2016
2. Windows 10 (Anniversary edition) *available from September 2016
these are the operating systems works for docker now. It does not support any other windows operating systems.
Now let's get start,
Prepare Docker environment
Install a maintained version of Docker Community Edition (CE) or Enterprise Edition (EE) on a supported platform.
To install docker..
Test Docker Version
1. Run docker --version and sure that you have a supported version of docker;
2. Run docker info or (docker version without--) to view even more details about docker installation,
Test Docker Installation
1. Running simple docker image, hello-world;
2. List the hello-world image that was downloaded to your machine;
3. List the hello-world container (spawned by the image) which exits after displaying its message. If it were still running, you would not need the --all option;
Recap and Cheat Sheet
Docker Advantages
1. CI Efficiency
2. Compatibility and Maintainability
3. Standardization and Productivity
Docker Disadvantages
1. Does not work any operating systems (such as windows 8.1, 8, 7...)
**if you want to run docker for another Operating System, you can run Docker Tool Box
Brief introduction about Docker
1. Original Author : Solomon Hykes
2. Developer(s) : Docker, Inc.
3. Repository : github.com/docker/docker-ce
4. OS : Windows, Linux
5. Platform : x86-64, ARM
6. Website : docker.com
Install Docker Tool Box
Docker Introduction,
What is Docker?
Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package.
By doing so, thanks to the container, the developer can reset assured that the application will run on any other linux machine regardless of any customized settings that machine might have that could differ from the machine used for writing and the testing code.
Docker is bit a like a virtual machine. But unlike a virtual machine, rather than creating a whole virtual operating system, docker allows applications to use the same linux kernel as the system that they are running on and only requires applications be shipped with things not already running on the host computer. So this gives a significant performance boost and reduce the size of application. The most important thing is Docker is open source. So anyone can doing their own things and share to others.
In high level,
These containers contains the real ,
1. Operating System
2. Software that you build
3. Dependencies to run the software's (Like pre-requisite software)
Docker is like a container,
What are "Containers" and "VMs"?
Virtual machines include the application, the necessary binaries and libraries, and an entire guest operating system -- all of which can amount to tens of GBs.
Containers include the application and all of its dependencies, but share the kernel with other containers, running as isolated processes in user space on the host operating system. Docker can run on any computer, on any infrastructure, and in any cloud.
Containers and VMs are similar but not same. Both are can isolate an application and its dependencies into a self-contained unit that can run anywhere.
The main different between containers and VMs is in their architectural approach.
Docker for Windows is available from,
1. Server 2016
2. Windows 10 (Anniversary edition) *available from September 2016
these are the operating systems works for docker now. It does not support any other windows operating systems.
Now let's get start,
Prepare Docker environment
Install a maintained version of Docker Community Edition (CE) or Enterprise Edition (EE) on a supported platform.
To install docker..
Test Docker Version
1. Run docker --version and sure that you have a supported version of docker;
Test Docker Installation
1. Running simple docker image, hello-world;
2. List the hello-world image that was downloaded to your machine;
3. List the hello-world container (spawned by the image) which exits after displaying its message. If it were still running, you would not need the --all option;
Docker Advantages
1. CI Efficiency
2. Compatibility and Maintainability
3. Standardization and Productivity
Docker Disadvantages
1. Does not work any operating systems (such as windows 8.1, 8, 7...)
**if you want to run docker for another Operating System, you can run Docker Tool Box
Brief introduction about Docker
1. Original Author : Solomon Hykes
2. Developer(s) : Docker, Inc.
3. Repository : github.com/docker/docker-ce
4. OS : Windows, Linux
5. Platform : x86-64, ARM
6. Website : docker.com
Install Docker Tool Box
Docker Introduction,
Nice Article.
ReplyDeleteThank you
Delete