Docker FAQ

1, Docker new port mapping 1. Introduction When docker run creates and runs containers, you can specify port mapping rules through - p. However, once the container is generated, no command can be modified directly. Generally, there are two ways to add or modify mapping ports. The environment here is Ubuntu 20 04 New containerModify conta ...

Added by eashton123 on Sun, 13 Feb 2022 02:00:38 +0200

docker's network (native network and custom network) 9

#This article is about the network communication between multiple containers of a single machine and the network communication across host containers docker native network Delete the unused network. The parameter prune is available in every docker instruction. [root@docker1 harbor]# docker network prune Are you sure you want to continue? [ ...

Added by jay_bo on Sat, 12 Feb 2022 17:21:10 +0200

rancher2.0 how to build, details

######################################################################################### Environmental preparation: Three virtual machines can be connected to the external network master 0001: 192.168.10.13 worker 0002: 192.168.10.14 0003: 192.168.10.15 Minimum 2cpu 2G memory, 100G of my virtual machine hard disk configuration Switch partition ...

Added by lavender on Sat, 12 Feb 2022 06:30:19 +0200

[accompanying notes] detailed records of Docker installation postgres database

Record in detail the detailed process of installing postgres data in the Docker environment under macOS, and record the installation steps and problems. postgres installation First, use the command to pull the image of postgres $ docker pull postgers Using default tag: latest latest: Pulling from library/postgres 5eb5b503b376: Pull compl ...

Added by Ulujain on Fri, 11 Feb 2022 04:04:01 +0200

k8s set up mysql master-slave synchronization

1. mysql master image configuration   first, we need to obtain the dockerfile file from the docker hub official website for subsequent modifications. The address is as follows:   https://github.com/docker-library/mysql.git    then copy one copy of the 8.0 folder and name the other 8.0_slave. Enter the 8.0 folder, where ther ...

Added by andrewburgess on Thu, 10 Feb 2022 16:19:38 +0200

Introduction to docker 1: docker installation, basic commands and redis operation examples

Environmental Science: centos8.2 minimize installationdocker 1, docker concept Official website: https://www.docker.com/ Github Docker source code: https://github.com/docker/docker-ce Docker is an open source application container engine, which is based on Go language and complies with Apache 2.0 0 protocol is open source. Docker allows de ...

Added by azul85 on Thu, 10 Feb 2022 02:19:14 +0200

Stateless application: Deployment replica application and horizontal expansion

Words in this article: replace(/r ɪˈ ple ɪ s /) replacement and substitution; In this article, the modified yaml file replaces the old yaml file rollout(/ ɑː ®/) record; In this article is a copy version of deploy that records history describe(/d ɪˈ skra ɪ b /) description; In this article, it means to record the process scale(/ske ɪ l ...

Added by free2code on Thu, 10 Feb 2022 00:31:19 +0200

gitlab docker failed to access with ssh

preface Previously, a gitlab server was built on Alibaba cloud student computers. Because gitlab already exists on the host and the environment has been messed up, it is not easy to install gitlab directly, so we have to run it in the docker container. It is very convenient for gitlab to deploy docker container. You can use it by switching th ...

Added by BoostinZX on Wed, 09 Feb 2022 22:49:16 +0200

Introduction to Linux Capabilities -- basic practical part

The series is divided into three articles: Introduction to Linux Capabilities: ConceptsIntroduction to Linux Capabilities: basic practical chapterIntroduction to Linux Capabilities: advanced practical chapter Last article This paper introduces the birth background and basic principle of Linux capabilities. This paper will show how to view and ...

Added by SOL-ion on Wed, 09 Feb 2022 21:38:08 +0200

Apollo project practice

Apollo project practice 1 Apollo application Project address: https://github.com/ctripcorp/apollo Instruction manual: https://github.com/ctripcorp/apollo/wiki 1.1 first acquaintance with Apollo Apollo (Apollo) is a distributed configuration center developed by Ctrip framework department. It can centrally manage the configuration of di ...

Added by jtrost on Wed, 09 Feb 2022 10:50:19 +0200