0% found this document useful (0 votes)
35 views7 pages

The Docker Network Command

Uploaded by

Bouzayen Mohamed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views7 pages

The Docker Network Command

Uploaded by

Bouzayen Mohamed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

The Docker Network Command :

- Inspect a network

docker network inspect bridge


- List network driver plugins
Section #2 - Bridge Networking

The Basics
Step 2: Connect a container

Creation of a new container :

Verifying container

the container is added to the bridged network.


the container is attached to the bridged network and had the “ipV4 = 172.17.0.2”

Step 3: Test network connectivity

the container is pinging

the container is connected via bash


ping tool is installed into the container

the container is pinging to github

the container is stoped

Step 4: Configure NAT for external connectivity


The NGIX container is started and the port 8080 of the host is attached to port 80 of the
container
0.0.0.0 mean that all interfaces of the host
that’s mean that all the trafic comming to the host on port 8080 on all interfaces is redirected
to the container at the port 80

the NGIX server is running on the container

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy