Docker basic introduction
1. What is the docker
docker itself is not a container, is a tool to create a container, the container is the application engine, the application automatically deployed to the container open source engine.
2.docker objective characteristics
Simple lightweight, rapid development, with portability, development, testing, production can use the same environment.
3.docker usage scenarios
Use docker container development, testing, deployment services
Create an isolated operating environment
Set up a test environment
Docker basic components
- Docker client client c / s architecture
- Docker Daemon Daemon
- Dokcer Image Mirror (the cornerstone of containers, packaging and building stages, based on container up and running mirroring)
- Docker Container container (start by mirroring, and start execution phase, the implementation of source docker)
- Docker Registry warehouse (public private)
General process: Docker be accessed by the client daemon to manipulate Docker container, and the container is to create a mirror image, the image is stored in the warehouse
Some basic command line:
docker version View version
docker search image name to view mirror
docker pull username / name Mirror Mirror download
docker run user name / image name echo 'hello word' print starting container helloword
Docker container capacity:
1. File system isolation
2. Process Isolation
3. Network Isolation
4. packet and resource isolation
docker have two slogans.
The first sentence is: Build, Ship and Run to build, send, running