Docker fire for a long time, the previous period of time simple study and play a moment, found that he is valuable to test, feel the need to further study.Here are some good learning URLs to use as a reference:Infoq has a series of articles above:What Docker is doing on Infoq: http://www.infoq.com/cn/dockerdeep/In Layman's Do
/compose/releases/download/1.17.1/docker-compose-' uname -S '-' uname-m '-o/usr/local/bin/docker-composesudo chmod +x/usr/local/bin/docker-compose(the latest version can be from here https://github.com/docker/compose/releases learned)Run docker-compose–version Check for succ
http://segmentfault.com/a/1190000000751601This article only records the use of Docker commands in most situations, and if you want to know the details of each option, please refer to the official documentation, which is recorded only as a later memo.According to their own understanding, generally divided into the following types:
Container Life cycle Management-
built on AUFS, and then we'll start with the Linux example in container to introduce the use of Docker for AUFS features.A typical startup Linux operation requires two Fs:bootfs + Rootfs:Bootfs (boot file system) mainly contains bootloader and kernel, bootloader is mainly boot load kernel, when boot succeeds kernel is loaded into memory Bootfs is umount. Rootfs (Root file system) contains standard director
Docker Swarm getting started, dockerswarm
Swarm was an independent project before Docker 1.12. After Docker 1.12 was released, the project was merged into Docker and became a sub-command of Docker. Currently, Swarm is the only tool provided by the
Docker Swarm getting started, dockerswarm
Swarm was an independent project before Docker 1.12. After Docker 1.12 was released, the project was merged into Docker and became a sub-command of Docker. Currently, Swarm is the only tool provided by the
NetEase'sExecstart=/usr/bin/dockerd–registry-mirror=http://hub-mirror.c.163.comOfficial Help
Aliyun Docker Mirror Library
Aliyun Container Hub Service: http://dev.aliyun.com/search.html
Container Hub services from the cloud
High-performance local registry provides full mirroring services for uploading, downloading, building, and hosting.
and to provide users with accelerators to speed up the official warehouse download. Accelerator
Docker-2 learn more about docker, docker-2dockerDockerBasic concepts of images, containers, and warehousesImages
A Docker image is a read-only template.For example, an image can contain a complete CentOS operating system environment where only httpd or other applications are installed.
Images can be used to create
virtualization, where the container is virtualized at the operating system level, directly reusing the local host's operating system, while the traditional approach is implemented at the hardware level.
Why do you use Docker
As an emerging virtualization approach, Docker has a number of advantages over traditional virtualization approaches.
First, the launch of
About Docker
Docker refers to containerized technology, which is used to support the creation and experimentation of Linux Container. With Docker, you can use containers as lightweight, modular virtual machines, and you get a high degree of flexibility to efficiently create, deploy, and replicate containers, and migrat
First, Docker introduction
Docker two main components: Docker: Open source container virtualization platform Docker Hub: Docker hub for sharing and managing Docker containers
Docker us
executed.The intermediate image created by the Run Command is cached and used in the next build. If you do not want to use a cache image, you can specify the -- no-Cache parameter during the build, for example, docker build -- no-cache.4. Copy command
Syntax format of the Copy command:
Copy
The Copy Command copies the
COPY hom* /mydir/COPY hom?.txt /mydir/
The target path can be an absolute path in the c
Last article we successfully installed Docker under Windows and exported a simple Hello World program. In this article we will use Docker's existing cloud image Training/webapp to publish a simple Python web program that outputs Hello World in a browser.The test environment for this article is Docker under Windows7, and use
operating systems or even windows. Here I use centos7.3 for installation. Docker has the following requirements on the operating system:
-Kernel version later than 3.10: You can view it through uname-r.
-64-bit system: You can view it through uname-I.Install yum
After configuring the yum source, you can directly use the yum command for installation:
yum install
cluster information. The following is the swarm chart:
How to use swarm
There are 3 machines:sclu083:10.13.181.83sclu084:10.13.181.84atsg124:10.32.105.124Use the three machines to create a docker cluster, where sclu083 also acts as the Swarm Manager management cluster. Swarm installation
The simplest way to install swarm is to use the swarm image provided by th
= ' {{range. networksettings.networks}}{{. Ipaddress}}{{end} ' $INSTANCE _id
Get a instance ' s MAC address
$ docker Inspect--format= ' {{range. networksettings.networks}}{{. Macaddress}}{{end} ' $INSTANCE _id
Get an instance ' s log path
$ docker Inspect--format= ' {{. LogPath} ' $INSTANCE _id
Get an instance ' s image name
$ docker Inspect--format= ' {
Linux version: Ubuntu16.04
The first time you install Docker, it is possible to run the Docker command, such as
Docker PS
After restarting the system, the following error occurred after running Docker PS: Cannot connect to the Docker daemon. Is the
user sessions and tasks, including creating a warehouse and sending emails.
Sidekiq: a built-in Rails framework that subscribes to and executes redis tasks.
3. GitLab installation and deployment 3.1. Official support
RPM package containing everything: https://about.gitlab.com/downloads/ (officially recommended)I personally don't recommend it, because the RPM package capacity is too large, more than 200 M, suitable for Linux beginners, not tried
Manual installation: https://gitlab.com/gitlab
Install the latest docker in ubuntu 16.04, 16.04 docker
This article describes how to install and upgrade docker, docker-compose, and docker-machine in ubuntu16.04.
Docker: there are two versions:
Docker intranet: Docker-registry with Nginx SSL on CentOSSince Docker-registry is also a software application, the easiest way to do this is to use the officially provided image registry that has been deployed. The official documentation also gives suggestions for running sudo doc
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.