Docker 1 (installation and deployment of docker, hierarchical structure of docker image, docker commit and dockerfile, image acceleration, docker deployment game 2048, docker container deployment nginx)

1. Installation and deployment of docker: 1-1:yum source configuration: docker The new virtual machine needs to be reconfigured; Configure new docker Source (Alibaba cloud): vim docker.repo [docker] name=docker-ce baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/7/x86_64/stable gpgcheck=0 Configure new using alicloud centos Source ...

Posted by martinchristov on Mon, 04 Apr 2022 21:09:27 +0300

k8s_ Consider the past you shall know the future

k8s k8s function Automatic packing Automatically deploying application containers based on resource configuration requirements for application runtime environments Self-repair When a container fails, it is automatically restarted Containers are redeployed and rescheduled when there is a problem with the deployed ...

Posted by bokehman on Mon, 04 Apr 2022 20:20:14 +0300

Installation and use of Docker

Ubuntu18.04 system docker installation and use Docker installation, basic tutorial and command learning web pages: https://geek-docs.com/docker Docker introduction It consists of three parts: container (Image) and repository (Doctor). Docker's image can be simply compared to the system disk used to install the system for the computer ...

Posted by liquid79 on Sun, 03 Apr 2022 22:19:19 +0300

Writing format of YAML file in k8s

preface Environment: CentOS 7 9 docker-ce-20.10.9 kubernetes-version v1. twenty-two point six yaml file overview The management of resources and the arrangement and deployment of resource objects in k8s can be solved through the declarative file (yaml file), that is, the operation of resource objects can be edited into the yaml file. We call ...

Posted by Gasolene on Sun, 03 Apr 2022 17:06:37 +0300

3, kubernetes - cluster installation

catalogue 1, Preliminary preparation 2, Cluster installation 1. System initialization 2. Kubedm deployment and installation K8S 3. Harbor installation of enterprise Docker private warehouse 1, Preliminary preparation This experiment adopts one master node, two work nodes and one private warehouse. The machine distribution is as follows: ...

Posted by foid025 on Sun, 03 Apr 2022 16:47:31 +0300

Basic use and application of Docker (automatic deployment with gitlab and jenkins)

Docker Docker introduction https://docs.docker.com/ docker run --name nginx-test -p 8080:80 -d nginx docker run --rm -d -p 40001:3000 jayfong/yapi:play # Default administrator account: admin@docker.yapi , administrator password: adm1n What is Docker Docker is an open platform integrating packaging, running, testing and publishingWe can ...

Posted by franklyn on Sun, 03 Apr 2022 13:33:42 +0300

PostgreSQL database container recovery and simple backup implementation

2021.03.10 original release address: Implementation of database container recovery and simple backup Antecedents For internal use by colleagues in the group outline The document service added the mathjax function. Because it was not familiar with the use of docker, it boldly implemented docker compose down in the production environment, res ...

Posted by andrew6607 on Sat, 02 Apr 2022 23:59:40 +0300

[building plug-ins for docker image] practical demonstration of using plug-ins: docker Maven plugin and jib Maven plugin

1. Description: Docker container deployment is very popular. If a Java application wants to run in a docker environment, it is necessary to create a docker image containing the application. You can manually use dockerfile and docker compose to create an image, or you can use the plug-ins docker made plugin and jib made plugin to create an image ...

Posted by accu on Sat, 02 Apr 2022 23:41:52 +0300

Dockerfile file details

What is dockerfile? ‚Äč Dockerfile is a text document that contains commands for combining images. You can use any command in the command line. Docker automatically generates images by reading instructions in dockerfile. Basic structure of Dockerfile Dockerfile is generally divided into four parts: basic image information, maintainer informa ...

Posted by suresh_nsnguys on Sat, 02 Apr 2022 12:07:00 +0300

Using minicube to implement CI/CD of microservices

1, Overview Recently, I have been studying the implementation of a set of devops process based on k8s. Since it is troublesome to build a set of k8s cluster, I intend to use minicube to implement the whole set of devops process on my local windows. Here I record the whole practice process, hoping to provide some reference for students who ne ...

Posted by billy2shoe on Sat, 02 Apr 2022 07:01:06 +0300