Building a private warehouse with docker container

1, About registry 2, Set up a registry 1. Download the registry image 2. Start the container 3. Solve the problem of push ssl 4. Upload image 5. View all image information in the Registry 1, About registry The official Dockerhub is a good place to manage the public image. We can find the image we want on it or pu ...

Added by RaheimSG on Tue, 31 Dec 2019 23:37:10 +0200

Docker installation, image usage and some simple docker instructions

Docker is an open-source application container engine, which allows developers to package their applications and dependency packages into a portable container, and then publish them to any popular Linux machine. It can also realize virtualization. The container uses the sandbox mechanism completely, and there is no interface ...

Added by ramas on Tue, 31 Dec 2019 15:14:51 +0200

Docker basic control commands (resource control, data volume and data volume container, image creation, port mapping, private warehouse)

1, Resource control 1. CPU usage control Limit the maximum number of containers created by this image to 10% of the total resources docker run --cpu-quota 10000 centos 2. Prorated distribution Create two containers, c1 and c2. If there are only two containers, set the weight of the container so that the CPU resources of c1 and c2 account for 3 ...

Added by burtybob on Sun, 29 Dec 2019 18:04:27 +0200

docker deployment LNMP environment

The first step is to confirm that there are tar packages needed in your environment, and you can use [docker pull]() to download these images Now we're using a downloaded image, so we need to import it [root@docker01 ~]# docker load -i nginx.tar && docker load -i wordpress.tar && docker load -i mysql-5.7.tar && docke ...

Added by Havery Jay on Fri, 20 Dec 2019 22:21:35 +0200

The lightest configuration of Jenkins + docker + dockerfile Maven plugin + harbor CI / CD spring boot project

explain This paper is only for future reference, recording some key steps and stepping on the pit Dockerfile Maven plugin building image configuration <plugin> <groupId>com.spotify</groupId> <artifactId>dockerfile-maven-plugin</artifactId> <version>1.4. ...

Added by matthewc on Fri, 20 Dec 2019 16:06:33 +0200

Kubernetes 1.12.1 quick upgrade

Kubernetes 1.12.1 quick upgrade includes three main steps: upgrade kubedm / kubectl / kubelet version, pull image, upgrade kubernetes cluster. 1. Upgrade kubeadm/kubectl/kubelet version apt install kubeadm=1.12.1 kubectl=1.12.1 kubelet=1.12.1 To view the container image version of this version: kubeadm config images list The output is as ...

Added by chetan1 on Thu, 19 Dec 2019 16:25:01 +0200

Docker builds Robot Framework environment

Select Alpine Linux for basic image. For the introduction of alpine, see Alpine Docker installation bash . The contents of Dockerfile are as follows: FROM alpine:3.7 MAINTAINER Rethink shijianzhihu@foxmail.com RUN echo "https://mirror.tuna.tsinghua.edu.cn/alpine/v3.4/main/" > /etc/apk/repositories # Add -- virtual will repor ...

Added by Drumminxx on Sat, 14 Dec 2019 17:14:37 +0200

K8s Resource Pod (first article)

Resource configuration format: apiVersion: The version used to define an api group. Kind: Used to define resource types. Metadata: Used to define metadata, what it contains, the name of a resource, its tags, the namespace to which it belongs, and so on. sepc: Used to define the expected state of a resource. status: The actual state of the res ...

Added by cocell on Fri, 13 Dec 2019 05:51:57 +0200

Kube admin: kubernetes learning materials, common commands.

The original connection of this paper is:https://blog.csdn.net/freewebsys/article/details/83618119 The blogger's address is: http://blog.csdn.net/freewebsys 1. About kube video The first section is shared by foreigners. I'm too lazy to listen to English. Look straight from the second section. Chinese is still comfortable to l ...

Added by _off_axis_ on Thu, 12 Dec 2019 22:19:10 +0200

New server building - Summary: Download nginx, jdk8, docker compose (install mysql,redis) with installation

Preface For example, the company bought a new 4-core 16G server and had to rebuild the environment, so it had to do one by one and make a record 1.nginx: manual installation 2.jdk8: manual installation 3. Install docker and docker compose 3. Docker compose encoding, one click docker to install mysql, redis nginx installation Available ...

Added by elgoog on Wed, 11 Dec 2019 15:55:03 +0200