Configuration and common operations of docker container network
1. The Linux kernel implements the creation of namespace
1.1 ip netns command
You can complete various operations on the Network Namespace with the help of the ip netns command. The ip netns command comes from the iproute installation package. Generally, the system will install it by default. If not, please install it yourself. Note: sudo ...
Added by PDXDesigner on Mon, 06 Dec 2021 04:16:58 +0200
Lightweight timed task tool Cronicle: Previous
This article will introduce a lightweight and simple Web UI, which is suitable for small and medium-sized teams and individuals: Cronicle.
This is the first article about Cronicle. It mainly talks about the common problems of this software under container packaging and the ideas of container packaging.
Write in front
It has been more than fi ...
Added by nosher on Mon, 06 Dec 2021 03:31:43 +0200
Container cornerstone - namespace and cgroup
The purpose of this article is to make readers have a concrete understanding of namespace and cgroup. Of course, due to my limited knowledge of Linux, I can't go deep.
"Container is an execution environment that shares the kernel with the host system but is isolated from other process resources in the operating system", which is th ...
Added by chrisg101 on Sun, 05 Dec 2021 15:43:23 +0200
dockerfile deployment and optimization
introduction
The following mainly introduces how to create and use custom images, so that you can flexibly build containers, and how to optimize the size of images.
1, Dockerfile layering principle
1. Preliminary understanding of mirroring
Layer ⑥: container layer - readable and writable - running image image - CMD and entrypoint are re ...
Added by sqlnoob on Sun, 05 Dec 2021 11:16:22 +0200
Docker compose + nginx deployment front and back end separation project
Docker compose + nginx deployment front and back end separation project
The project is a front-end and back-end separation project using Vue +Springboot
1, Pretreatment
1. Before packing the project, go to File – > setting – > File encoding and change it to UTF-8 to prevent random code errors!
Note: at this time, if ...
Added by cnnabc on Sat, 04 Dec 2021 22:57:50 +0200
docker container network
docker container network
Docker automatically provides three networks after installation and can be viewed using the docker network ls command
[root@localhost ~]# docker network ls
NETWORK ID NAME DRIVER SCOPE
9692fae45042 bridge bridge local
cd5368439dc0 host host local
c49a1db81682 none null local ...
Added by severndigital on Sat, 04 Dec 2021 04:02:03 +0200
Linux Docker image packaging
Introduction: This article mainly explains how to install and package Linux Docker images.
For image download, domain name resolution and time synchronization, please click Alibaba open source mirror station
1, Build Docker environment
1. Installation under linux environment
Install / upgrade your Docker client
It is recomm ...
Added by b2k on Sat, 04 Dec 2021 03:45:12 +0200
docker private warehouse Harbor
preface
Harbor is an open source enterprise Docker Registry project of VMware
1.Harbor's advantages
1. Role based control: there are administrators and ordinary users. Ordinary users can be empowered. For example, they can only upload and download, and can be operated and managed according to the project 2. Image based replication policy ...
Added by bigdspbandj on Sat, 04 Dec 2021 00:34:56 +0200
docker container network management
1. Virtualized Networks
Network Namespace is a function provided by the Linux kernel and an important function for network virtualization. It can create multiple isolated network spaces, which have their own network stack information. Whether it's a virtual machine or a container, it runs as if it's all in a separate network. And the resou ...
Added by csplrj on Fri, 03 Dec 2021 19:43:38 +0200
Docker builds LNMP + Wordpress
catalogue
1, Project simulation
1. Project environment
2. Server environment
3. Task requirements
2, Linux system basic image
3, Nginx
1. Create working directory
2. Write Dockerfile script
3. Prepare nginx.conf configuration file ,
4. Generate image
5. Create custom network
6. Start the mirror container
...
Added by maralynnj on Fri, 03 Dec 2021 08:47:34 +0200