Some Questions about learning
How do I heat update mirrors (images)? (You can quickly start or destroy the container.) This time is almost real-time.
How to hot update the game suit?
The advantage is that the environment of each application is independent of each other, even if a container crashes will not affect other containers;
How do you maintain each container using ports? (Method 1 is written in dockerfile, not flexible; Method 2 is specified at run time);
That way, ther
Today, Daimajia recommends using Docker, but has always listened to Docker, but no use, today refer to a few documents to take Docker. It's faster than the average virtual machine.This summary is mainly the collation of work, most of the content is in the final document of the article has been described.My computer is ubuntu14.04 installed.$ sudo apt-get install
Environment
All environments in this article, VMware Workstation running UBUNTU-13.10-SERVER-AMD64, note that the 64-bit system, in theory, other virtual machines are completely feasible.
Install Docker
The Docker 0.7 version requires Linux kernel 3.8 support and requires a Aufs file system.
# Check to see if AUFS is installedsudo apt-get updatesudo apt-get install linux-image-extra-' uname-r '# Add
..Statement:This blog welcome forwarding, but please keep the original author information!Blog Address: Http://blog.csdn.net/halcyonbabySina Weibo: Searching for MiraclesThe content of my study, research and summary, if there is similar, it is honored!==================Docker exec and Docker attachWhether the developer is an OPS person, there is often a need to enter the container.At present, the main metho
Three major docker components: container and docker1. containers are another core concept of Docker.
Simply put, containers are one or more applications that run independently and Their runtime environments. The virtual machine can be understood as a simulation.A complete set of operating systems (including the running environment and other system environments) and applications running on them.1.1 start con
A few days ago encountered such a business scenario, the database runs in the Docker, the Docker city is UTC so it is 8 hours away from the Beijing time. However, you cannot rerun a container, only to ensure that the database is running, and to copy the host's time zone to the Docker container. Very distressed,
First I change the host's time zone to CST Beijing
The items covered in this article are:Cloud-simple-docker: A simple Spring boot applicationDocker is a virtual machine technology, exactly the Linux virtual machine technology LXC on the basis of a layer, can be regarded as a LXC-based container technology. You can think of a container as a simple version of the Linux environment (including root user rights, proc
Build a docker environment for the Distributed log platform from the beginning and build a docker
In the previous article (spring mvc + ELK build a log platform from the beginning), we will share with you how to build a distributed log Platform Based on spring mvc + redis + logback + logstash + elasticsearch + kibana, it is operated on the windows platform. This article mainly involves all these software e
..Statement:This blog welcome forwarding, but please keep the original author information!Blog Address: Http://blog.csdn.net/halcyonbabySina Weibo: Searching for Miracles
The content of my study, research and summary, if there is similar, it is honored.
================== Docker exec and Docker attach
Whether the developer is an OPS person, there is often a need to enter the container.At present, the main m
start container docker run-ti Ubuntu/bin/bash
Docker run = First Docker Create and then Docker start
-T means to have Docker assign a pseudo terminal and bind to the container's standard input
When the-T is used, the command operation can be performed, but only one time
Tags: highlight content minimum arm [] API Pull Files WarStudy fromHTTPS://hub.docker.com/_/docker/Feeling a word these people really cow B.Simple testPull MirrorDocker Pull Docker:dindRun mirrorDocker run-it--privileged--name dind-d docker:dindView image[email protected] ~]# Docker exec-it some-Docker SH/# docker Vers
://get.docker.io/ubuntu Docker main >/etc/apt/sources.list.d/docker.list"$sudoApt-get update$sudoApt-get Install Lxc-dockerVersion number before 14.04If it is an Ubuntu system with a lower version number, you need to update the kernel first.$sudoApt-get update$sudoApt-get Install linux-image-generic-lts-raring linux-headers-generic-lts-raring$sudoRebootThen repeat the above steps to be able.Start the
1. Install docker on CentOS 6.4
Docker currently only supports Ubuntu, so it is troublesome to install Docker on CentOS (Issue #172 ).
According to the official docker documentation, at least 3.8 of Linux kernel is required, and CentOS 6.4 is the 2.6 kernel. Therefore, I have compiled and installed the latest kernel 3.
Docker Study Notes (2) -- Docker client and daemonDocker daemon
Sudo docker daemon you can start the docker daemon process
Sudo docker daemon-help to view helpWhere
-- Label setting label sudo docker info you can view the label o
centos6.5 operating system, Docker learning notes.
Upgrading the centos6.5 kernelThe official documentation requires a minimum of 3.8 Linux kernel, and Docker can only run on 64-bit systems. Because the kernel version of RHEL6 and CentOS6 is 2.6, you must upgrade the kernel first.1, yum installation with Aufs module of the 3.10 core;
CD/ETC/YUM.REPOS.D
wget http://www.hop5.in/yum/el6/hop5.repo
yum Install
Referring to virtualization, I'm a Linuxcontainer (LXC) lover. But as Docker technology has gained prominence, I want to show you how to use MySQL with Docker
What is Docker?
In fact, Docker is the LXC package. It's fun to use.
Network Configuration
Install Docker automatically create three networks by default:
$ docker Network LS
network ID NAME DRIVER
7fca4eb8c647 Bridge bridge
9f904ee27bf5 none null
CF03EE007FB4 host Host1 2 3 4 5 6 1 2 3 4 5-6
The Docker container runs on the bridge network by default. The default
Create Docker Swarm
Here to summarize the official website of the document, but this section of the official website is not well written, the official website does not introduce how to create a node machine, need to find the previous documents to facilitate learning, the official website is best in the document to give relevant links, but no, this blog to add. Prerequisite 3 hosts capable of networking (Manager1, Worker1, Worker2) can be virtual mach
Docker is a popular way to deploy recently, and the most recent projects that have been tried before have been moved to Docker, the following are some of the pits and solutions encountered.
Network problems because of domestic reasons, Docker pull mirrors often encounter a situation that is not connected or extremely slow. This part can be used in the domes
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.