Tag:bridge
-
Time:2021-1-11
The network model of contact in those years In daily development, the earliest contact is the network model in the virtual machine (VMware, VirtualBox). The network driver under docker is an important part of docker architecture in dealing with network virtualization. The main default can be seen as the following three types. [email protected]:/etc# docker network […]
-
Time:2021-1-6
Demonstration in the previous section:Docker learning notes – view the application running log deployed in docker (environment: centos7) Next, we demonstrate multi container deployment with docker compose. Although the previous chapter demonstration can realize the requirement function, it is obviously very troublesome to maintain in the production environment, so the next demonstration realizes one click […]
-
Time:2020-12-17
Network Namespace Network namespace is a function provided by Linux kernel, which is an important function to realize network virtualization. It can create multiple isolated cyberspace with their own network stack information. Whether it is a virtual machine or a container, it seems that they are in a separate network when running. Moreover, the resources […]
-
Time:2020-12-16
Implementation principle Docker bridging using Linux (RefLinux virtual network technology)When the host machine virtual a docker container bridge (docker 0), the docker will assign an IP address to the container according to the network segment of the docker bridge, which is called container IP. At the same time, the docker bridge is the default gateway […]
-
Time:2020-11-18
This paper describes the PHP design pattern: bridge mode. For your reference, the details are as follows: 1. Overview In software system, some types have two or more dimensional changes due to their own logic. How to deal with such “multi-dimensional changes”? How to use object-oriented technology to make the type easily change along multiple […]
-
Time:2020-11-18
The previous section shows how to install MSSQL in dockerAnd (7) connect with Navi SQL Server This section demonstrates the interconnection between the. Net core project container and the MSSQL container! 1. Create a bridge in bridge mode and connect the bridge to the MSSQL container Net, and create a new. Net bridge container and […]
-
Time:2020-11-17
The previous section shows how to connect the SQL server container through the application containerDocker learning notes — net core project container connecting to MSSQL container (environment: centos7) This section demonstrates the installation of redis container, which is connected through the bridge precondition: . net core project needs to support redis read-write function and configure […]
-
Time:2020-11-16
Install MySQL 8.0 in docker. Refer to the following documents: https://www.runoob.com/docker/docker-install-mysql.html docker pull mysql:8.0 Create the container and link to the bridge test_ Network, how to create a network bridge, refer to:Docker learning notes — net core project container connecting to MSSQL container (environment: centos7) docker run -d –name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=Aa123456 –network=test_network mysql:8.0 […]
-
Time:2020-10-10
In the previous section:Docker container Network – Basic The article mentioned the dependence of container network on Linux virtualization technology. In this chapter, we will explore how docker works. Usually, the network of Linux container is isolated in its own network namespace, including network interface, loopback device, routing table and iptables rules. For a process, […]
-
Time:2020-9-13
A friend asked, what is the principle of communication? Before understanding the principle of communication, we should first be familiar with the equipment commonly used in communication. In the computer network system, there are several kinds of communication equipment or network terms with high frequency, they are: repeater, hub, bridge, switch, router and gateway. In […]
-
Time:2020-7-6
1 docker network 1.1 INTRODUCTION Dokcer provides communication between containers by using Linux bridge. The purpose of docker 0 bridge interface is to facilitate docker management. When the docker daemon is started, you need to do the following: If docker0 does not exist, create Search for an IP segment that does not conflict with the […]
-
Time:2020-6-4
Scenario description staycentos7functiondockerWhen the container is applied, it needs to connect themysqlOf3306Port, found no connection,dockerThe container cannot access themysqlDatabase. However, it is possible to access the external network inside the containerpingAll right. Cause analysis staycentos7TopsidedockerContainer, whose network mode isbridgepattern.start-updockerWhen,dockerThe process creates a process nameddocker0For communication between the host and the container. When adockerWhen container,dockerThe container […]