002-docker Network Setup and Data Management

Docker Network Settings Docker creates a bridged network card [docker 0]. docker has two mappings, one is random mapping and the other is specified mapping Production scenarios generally do not use random mapping The advantage of random mapping is that ports are allocated by docker and do not conflict Install nginx specified port docker pull ...

Posted by MickeyAsh on Sun, 08 Dec 2019 18:26:50 -0800

002.Docker installation and deployment

One docker installation CentOS system 1.1 docker automatic installation script 1 root@docker:~# wget -qO- https://get.docker.com/ | sh 2 Or - 3 root@docker:~# curl -sSL https://get.docker.com/ | sh   Note: if the following error occurs, you can use yum to resolve the dependency—— Delta RPMs disabled because /usr/bin/yum prov ...

Posted by spstieng on Sat, 07 Dec 2019 22:30:31 -0800

Advanced chapter: dockersurm of docker adjusts micro service and service configuration (29)

>Original article, welcome to reprint. Reprint please indicate: reprint from IT people's story meeting Thank you!>Original link address: Advanced chapter: dockersurm of docker adjusts micro service and service configuration (29) Last time, the swarm cluster environment has been set up. There are three virtual machines, server01, server0 ...

Posted by aclees86 on Sat, 07 Dec 2019 18:12:34 -0800

git server setup and code check

For local git service, gitlab is usually selected. I first chose gitlab and installed it on centos7 according to the steps on the official website. The download speed was unbearable and I had no choice but to give up. Finally, choose to install gogs image in docker to build git service.   I. installation of gogs 1. Pull image docker pull gogs/ ...

Posted by glennn3 on Sat, 07 Dec 2019 17:30:54 -0800

Bold prediction: docker app will be an alternative to docker compose

Docker 19.03 introduces an experimental feature: app, which is an instruction of docker, such as image, run, exec, swarm Official documents: https://docs.docker.com/engine/reference/commandline/app/ Docker app arranges the docker container as a bundle, named application application. You want to package a set of docker containers as an applicati ...

Posted by harinath on Sat, 07 Dec 2019 15:06:18 -0800

lua getting started demo (read by HelloWorld+redis)

1. lua introduction demo 1.1. Hello World!! Because I am used to using docker to install various software, this lua script also runs on the docker container Openresty is a variety of modules of nginx+lua, so you can install openresty directly in docker Modify the nginx.conf configuration file, and add lua_package_path "/usr/local/openresty/lu ...

Posted by HHawk on Sat, 07 Dec 2019 14:38:08 -0800

Online Process Recording for Network Deployment

Online Process Recording for Network Deployment Take the example of recommending similar items: reco-similar-product Project Directory Dockerfile Jenkinsfile README.md config deploy.sh deployment.yaml index offline recsys requirements.txt service stat You can see that there are many files in the directory. Here is a brief description of the rol ...

Posted by tomasd on Sat, 07 Dec 2019 13:38:56 -0800

Docker builds Java Web + Mysql running environment

Precondition An Ubuntu machine with Docker installed. If you don't know how to install Docker, Please poke here.. I. pull the basic image of ubuntu and mysql 1. Get mysql image docker pull mysql:latest 2. Get ubuntu image docker pull ubuntu 2. Check whether the image is pulled to root@gancy:/# docker images REPOSITORY ...

Posted by luked23 on Fri, 06 Dec 2019 19:47:39 -0800

jenkins triggers the automatic construction of docker image, uploads it to harbor and publishes it

I. making Dockerfile file 1. Deploy on 172.19.2.51 mkdir -pv /opt/git git clone http://172.19.2.140:18080/lvqingshan/gcgj.git cd /opt/git/gcgj scp app@172.19.2.1:/home/app/portal-tomcat/webapps/portal.war ./ scp app@192.168.37.34:/home/app/portal-tomcat/conf/server.xml ./ vim Dockerfile FROM tomcat:7.0.77-jre8 ADD server.xml /usr/local/tomcat ...

Posted by Valect on Fri, 06 Dec 2019 15:07:19 -0800

The first micro service application (Eureka) released by docker under centos7

1. Package under windows Microservice applications are packaged by maven, mvn clean package is executed in pom.xml of the project, or Maven package is directly packaged by idea or eclipse The above operation will generate the file microservice-discovery-eureka-0.0.1-SNAPSHOT.jar package in the target directory of the project 2. Copy microservic ...

Posted by ik on Fri, 06 Dec 2019 11:26:21 -0800