Docker Separate Deployment LNMP
1. Preparing the environment
Installation of docker can be referred to Docker introduction and installation details Not here!
Case Requirements:(1) Each container needs to achieve data persistence;(2) Assign a fixed IP address to the container to prevent the IP address from changing after the container is rebuilt, causing unnecessary troubles; ...
Posted by TheUnknown on Fri, 20 Dec 2019 13:19:30 -0800
Reactor rabbitmq
order
This article focuses on how to use reactor rabbitmq
maven
<dependency>
<groupId>io.projectreactor.rabbitmq</groupId>
<artifactId>reactor-rabbitmq</artifactId>
<version>1.0.0.M2</version>
</dependency>
rabbitmq
Reference resources docker b ...
Posted by djBuilder on Fri, 20 Dec 2019 08:28:41 -0800
Docker Series 2: Docker Installation Configuration and Basic Use
1. Introduction to Basic Environment
1. Introduction of basic software and hardware environment
64-bit CPU required
linux Kernel Version 3.10 and above
Kernel supports cggroups and namespace
System version is CentOS7.4 [centos6 is also available but unstable]
Docker version 18.06
K8S version 1.16 [k8s version must be compatible with docker ve ...
Posted by rupturedtoad on Thu, 19 Dec 2019 18:20:55 -0800
Docker implements data persistence
Due to the explosion of Docker technology, companies of all sizes are now using Docker.Friends who are familiar with Docker know that DOcker containers run for a lifetime and that if a docker container fails, it means that the data in the container will also be lost.So data is important for the enterprise!How to persist data in docker containe ...
Posted by Ameslee on Thu, 19 Dec 2019 14:53:30 -0800
Network in Docker
Talking about the network in Linux
Connectivity between namespace s
Namespace is a feature supported after Linux 2.6.x kernel, which is mainly used for resource isolation. With namespace, a Linux system can abstract multiple network subsystems. Each subsystem has its own network device, protocol stack, etc., which do not affect each other.
...
Posted by benwilhelm on Thu, 19 Dec 2019 04:52:04 -0800
Docker data persistence
I. Introduction
When we use Docker to create a mysql container, the data is stored in the containerIf you accidentally execute docker rm $(docker ps -aq) to delete all container s one day, the data in mysql will also be deleted, which is not safeWe need to persist the data and store it outside the container. Even deleting the container will no ...
Posted by ryanh_106 on Wed, 18 Dec 2019 08:16:59 -0800
google gcr.io, k8s.gcr.io domestic image
1. First add the official domestic image of docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://registry.docker-cn.co"]
}
EOF
2. gcr.io image
According to the open source project:
https://github.com/anjia0532/gcr.io_mirror
The author will pull the gcr.io related image down, and then push it to the official d ...
Posted by reversenorm on Wed, 18 Dec 2019 07:56:49 -0800
Docker+Jenkins build a multi version php environment
In recent days, we have just set up a small project server, which uses the combination of docker + (jenkins, nginx, PHP FPM, mysql, redis). Let's summarize today.
Docker has been out for a long time. Even the k8s high-end gadget is very "popular". To be honest, this is the first time I use docker in a production environment.
Using d ...
Posted by satyricon on Mon, 16 Dec 2019 23:01:24 -0800
Docker--DockerFile creates its own image
Echo edit, welcome to reprint, reprint please declare article source.Welcome to add echo WeChat (Micro Signal: t2421499075) to exchange learning.Never lose a hundred battles, never claim to be a constant winner, never fail, and always strive to move forward.- That's really powerful!!!
As we use many of the images in the docker library, we can ...
Posted by cap97 on Mon, 16 Dec 2019 19:06:50 -0800
Three installation methods of nginx
Nginx is a lightweight web server, reverse proxy server. Compared with Apache and lighttpd, it has the advantages of less memory and higher stability. Its most common use is to provide reverse proxy services.
1. Installation package compilation and installation
2.yum source installation
3. Use docker to install
You need to confi ...
Posted by jennifer_ann on Sun, 15 Dec 2019 08:08:14 -0800