Container Networking with Links

1 hour
  • 3 Learning Objectives

About this Hands-on Lab

### Container Networking with Links

It’s all about networking! For this activity, President Squawk has requested your aid in creating a super-duper secret network for transport of secure information between the official `SpaceBones` website & database. As our resident Docker expert, use legacy `Docker links` to create a linked network between `SpaceBones:thewebsite` & the `treatlist` Postgres database.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Verify SpaceBones Container is Running

If not running, start a new container using the Docker container image spacebones:thewebsite

Create Treatlist Container

If not already running, create a new container from the spacebones/postgres image named treatlist.

Create Network Link

Link the spacebones container with the treatlist container using legacy docker network links

Additional Resources

Create a network link between the two Docker containers, spacebones:thewebsite & treatlist using legacy Docker links. Use the image found at spacebones/postgres to create the database.

What are Hands-on Labs

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?