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.

Docker Networking

Step 1 of 4

Step 1 - Create Network

In this example, we're going to start by creating a backend-network. We will use this network to attach multiple containers

Task: Create Network

To complete this step, create a custom network named my-network using docker command.

Dockerfile