docker installation and use under CentOS 7

docker start stop sudo systemctl start docker.service sudo systemctl stop docker.service sudo systemctl restart docker.service sudo systemctl status docker.service sudo systemctl enable docker sudo docker ps -a ## <-- List existing images ## sudo docker stop 17dd4ab4cda2 ##<-- 17dd4ab4cda2 by container id ## sudo docker rm 17dd4ab4cda ...

Added by Phirus on Thu, 21 May 2020 17:37:51 +0300

Series 13 dockerAsp.netCore deployment

1. Introduction This full introductionAsp.netHow the core web api is deployed in a docker container and accesses web api services externally.After you have finished writing the dockerfile, you can create a mirror with the docker [image] build command. The basic format is: docker build [options] path | url | - The command reads the dickerfile ...

Added by Velausanakha on Thu, 21 May 2020 05:13:18 +0300

Kubernetes practice - build microservices from scratch 1 - build a single tier Node/Express network application with kind

Using kind to build a single tier architecture Node/Express network application Kubernetes practice - build microservice1 from scratch preface Prepare to write a series of practical Kubernetes tutorials. After all, cnblogs, as the earliest technology blog in China, have started to move to Kubernetes. Here, we need to give applause to ...

Added by BrettCarr on Wed, 20 May 2020 08:27:22 +0300

Installing Docker and Docker compose in CentOS 7

Environmental inspection Enter root All of the following are performed as root sudo -i View Linux distribution [root@localhost ~]# cat /etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7 ...

Added by ShaolinF on Thu, 07 May 2020 18:19:26 +0300

Take a quick look at Nginx

1, Basic knowledge of Nginx 1. What is Nginx? Nginx is an open source, lightweight, high-performance HTTP server and reverse proxy server.It is characterized by less memory and strong concurrency. 2. What does Nginx do? It can be used as an HTTP server to access and publish websites.It can also be used as a reverse proxy server to achieve load ...

Added by marian on Thu, 07 May 2020 14:43:36 +0300

Docker image migration

Docker image migration Experimental environment Operating system: CentOS Linux release 7.3.1611 (Core) docker version: 17.11.0-ce image copies To view an existing docker image: [root@localhost ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE eg_postgre ...

Added by mrdeadman on Tue, 05 May 2020 10:58:03 +0300

HAProxy https configuration, four-tier load balancing, and access control for load balancing services

In the previous section, we talked about the configuration of haproxy's access control ACL. For a review, please refer to https://www.cnblogs.com/qiuhom-1874/p/12817773.html ; Today let's talk about the configuration of haproxy's https, tcp-based four-tier load balancing, and access control. First let's look at the configuration of haproxy's ht ...

Added by amandas on Sun, 03 May 2020 09:12:33 +0300

Docker consult container service update and discovery

Docker consult container service update and discoveryContainer service update and discovery topologyThe nginx proxy service is deployed on the consumer server. The Registrar detects the service in the docker container and adds the registration to the consumer. The consumer template is registered and written into the created template according ...

Added by thomashw on Fri, 24 Apr 2020 14:54:25 +0300

Docker private warehouse, volume, port mapping

Private Warehouse EstablishmentTo build a private warehouse(1) Download the registry image at the character terminal(2) The client sets the daemon.json file to specify the private warehouse location(3) Generate registry container, open 5000 ports(4) Image labeling: docker tag original image name warehouse IP: port / image name (must be labeled ...

Added by serg91 on Thu, 23 Apr 2020 18:15:23 +0300

docker file storage path, get container start command

How to get start command of container The container has already been created. How to know its startup parameters (where to mount the data) #Suppose you start a container with the following command docker run -d --name mysql\ -p 3306:3306\ -e MYSQL_ROOT_PASSWORD=123456\ --restart=always\ mysql:5.5 --character-set-server=utf8 #How to kno ...

Added by fractalvibes on Mon, 13 Apr 2020 17:37:02 +0300