Difficulty: beginner
Estimated Time: 15 minutes

In this Lab we will create Docker Network and attach containers to it.

You've completed your Docker Networking Lab Exercise!

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Advanced Docker Networking

Step 1 of 6

Step 1 - Docker Networks

Docker creates bridge network by default, along with host and none. We will our custom network in the next steps.

You can list current networks by running docker network ls

Run the following command to inspect the bridge network docker network inspect bridge

Dockerfile