CentOS-6.5 Offline installation docker-1.7 tutorial
0. Prepare
This article is a way to install docker-1.7 using the RPM package without a network when simulating the actual line. However, the installation is also the use of Yum, compared directly with the RPM installation, Yum can solve some of the library file dependencies.
# cd/etc/yum.repos.d/
# mkdir Bak
#
Docker Command Tutorial
Docker since the birth has been very popular, learning Docker is a very cool, very interesting things. I hope that through this article can let you quickly get started Docker, and have some learning results to stimulate their interest in learning. I
-th
filesystem Type Size Used avail use% mounted on
none Aufs 9.1G 1.6G 7.1G 18%/
tmpfs tmpfs 115M 0 115M 0%/dev
shm tmpfs 64M 0 64M 0%/dev/shm/dev/sda1
ext4 9.1G 1.6G 7.1G 18%/etc/hosts
9, run the container named CentOS Mirror (virtual out of 1 CentOS system)
1 The container that runs the CentOS mirror
Docker Run-i-T CentOS
2) View version
root@10.1.10.236:~# Docker run CentOS ca
Share MySQL 5.7 docker master-slave replication Architecture Tutorial for your reference, the specific contents are as follows
Environment version:mysql:5.7.13docker:1.11.2centos:7.1
1. Install two MySQL on two physical machines first. Commands are as follows
Copy Code code as follows:
Docker Pull mysql:5.7.13
This series of tutorials, from the official Docker website, is a self-paced tutorial for developers that will help you understand and be able to deploy applications using Docker. This tutorial is divided into the following three stages.
First stage: Basic Primer This phase will
Familiarize yourself with the
Preparatory workEnvironment:
Linux environment or Mac, do not use Windows
JDK 8
Maven 3.0
Docker
See Docker tutorial for no knowledge of Docker.Create a Springboot ProjectIntroduce a web-based start-up dependency and create a controler:@SpringBootApplication @restcontrollerpublic class Springbootwithdockerapplication { @RequestMapping
system.These actions will be recorded, pretending to be in effect (personal understanding)The example in the tutorial is let's install a package, okay, then just load it up and look at the executed command.Docker Ps-l saw the actionThen a new branch was uploaded:docker commit [ID] new name/branchThe new branch ID is returnedYou can then execute the new command with the new branch.Then Docker PS can look at
Docker mirror default username docker, password: tcuser
7. Pull a mirror: Because foreign docker hub speed is particularly slow, here is a https://www.daocloud.io, the host can easily pull after the various mirrors, and fast
8. The use of SSH tool management, the Windows command line into the Docker, can not rep
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.