Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Docker Container Networking

Each container should serve a single purpose, such as running one application like a web server. Containers can be powerful by themselves, but when connected together, they are far more useful. For example, a web server container can be connected to a database container to provide application storage. Docker provides multiple options for networking containers. In this lab, you'll explore a few of the common types of networks that Docker supports, and learn how containers within those networks interact.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 30m
Published
Clock icon Nov 20, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Explore the Default Network

    1. List the default networks.
    2. Run an httpd container named web1 without specifying a network and see which network it uses.
    3. Attempt to connect to web1 by name and by IP from another container run without a network specified.
  2. Challenge

    Explore Bridge Networks

    1. Create a new bridge network named test_application.
    2. Run an httpd container named web2 in the test_application network.
    3. Attempt to connect to web2 by name and by IP from another container within the test_application network.
    4. Attempt to connect to web1 from a container in the test_application network.
  3. Challenge

    Explore the Host Network

    1. Run an httpd container named web3 on the host network.
    2. Attempt to connect to web3 directly from the server.
    3. Attempt to connect to web3 from another container on the host network.
    4. Attempt to connect to web1 and web2 from a container on the host network.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans