java deploy microservices to Docker
The microservice of this project is developed by spring boot, and each microservice project is made into jar package. Finally, jar is run in the Docker container. The deployment process is as follows
1. The spring boot project is finally built into Jar package.
2. Create Docker image
3. Create container
4. Start the container
Manual deploymen ...
Added by godwisam on Tue, 15 Oct 2019 17:17:58 +0300
Rapid deployment of elk and docking of SpringBoot using docker
Rapid deployment of elk using docker
1. Introduction of Software & Tools
ELK is the abbreviation of three open source software, namely, Elastic search, Logstash and Kibana. They are all open source software. A new FileBeat is added, which is a lightweight log collection and processing tool (Agent). Filebeat takes up less resources and is su ...
Added by everknown on Fri, 11 Oct 2019 13:09:00 +0300
Make your own docker image and publish it to k8s
This article mainly describes how to generate docker image from your program and publish it to k8s environment. Before that, you need to understand the basic docker usage, basic k8s concepts and commands.
Step1 CodingTo facilitate the use of the previous code, put the KV value into the ETC cluster. The code is as follows:
package main
import ...
Added by geekette on Fri, 11 Oct 2019 01:02:44 +0300
Spring-IOC gracefully closes containers in non-web environments
When we design a program, we rely on the Spring container, but we don't need Spring's web environment (Spring web environment has provided graceful shutdown), that is, the program starts only by starting Spring Application Context. How can we gracefully shut down?
Designing an agent requires only Spring container management part bean s to ...
Added by NeilB on Thu, 10 Oct 2019 21:39:45 +0300
Docker Tutorial for Front End Engineers - Basic Chapter
Recently, the company has been promoting containerization and k8s, and the project will be changed to Docker deployment. There are several node projects in charge of the project, so you can only learn Docker from scratch.
install
Docker supports windows, MAC, Linux, tutorial reference Docker Installation Tutorial.
Docker is recommended for Mac ...
Added by gordo2dope on Wed, 09 Oct 2019 01:48:33 +0300
How does the network communicate between docker containers?
Related concepts:
Bridge: equivalent to a virtual switch, all devices connected to the bridge can communicate normally;
veth pair: virtual network card pair (2 network cards), the sending and receiving data between the two network cards are consistent;
docker network:
Docker0 bridge: after installing and starting docker0, there will be a net ...
Added by Hard Styler on Tue, 08 Oct 2019 17:51:21 +0300
Linux Builds Its Docker Mirror Warehouse
Describes how to build docker image warehouse on your own server
I. check the docker version of the host computer
If the version is less than 17, you need to download a new version of docker. If your version of docker is more than 17, skip below and jump directly to the second block.
docker -v
1. Update yum source
yum update
2. Unload the old v ...
Added by Majes on Mon, 07 Oct 2019 08:47:22 +0300
2 Docker Installation and Use
Note that if docker is installed in the virtual machine, the firewall can be closed first to avoid unknown problems.
install
If the docker version is too low, you can list the information of the software that contains the docker field by following commands
# rpm -qa | grep docker
Uninstall software us ...
Added by leon77 on Fri, 04 Oct 2019 21:05:05 +0300
Learn SpringCloud from Me | Article 18: The Basic Environment for Docker ization of Micro Services
1. Containerization
With the advent of Docker, container technology has made a qualitative leap. Docker standardizes the infrastructure of services, unifies the packaging and distribution of applications, deployment and operating system-related class libraries, and solves the problem of environmental differences in test production deployment.F ...
Added by Iceman512 on Mon, 23 Sep 2019 04:48:42 +0300
CentOS Deployment Harbor Mirror Warehouse
About Harbor
Harbor is a mirror warehouse service used to store and distribute Docker images. Compared to Docker Registry, Harbor enhances security, identity, management and is more suitable for enterprise use.
Official website: https://goharbor.io/
Official open source: https://github.com/goharbor/harbor
environmental information
The Harbor ...
Added by potatoCode on Sun, 22 Sep 2019 04:41:36 +0300