Skip to main content

Container Networking with Networks

Hands-On Lab


Photo of joel


Training Architect





Container Networking with Networks Good news, cadet! Thanks to your hard work & dedication, combined with consistently high quality output, the Druidians have successfully scheduled the first delivery of emergency treat rations to SpaceBones! President Squawk, along with every hungry citizen of SpaceBones send their deepest gratitude. But we're not quite done yet! To schedule the first treat transfer, SpaceBonians need your help with creating a telnet container running on a super-duper secret Docker network bridge created especially for secure SpaceBones-to-Droolidia communication.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.

Container Networking with Networks

Negotiations between President Squawk & Droolidian officials are now complete, & now Droolidia is preparing to deliver the first treat rations to the nation of SpaceBones. Using the details below, create a new Docker network named borkspace using the network range, with the gateway IP address Once the borkspace network is created, use it to launch a new app named treattransfer in interactive mode using the spacebones/nyancat:latest. Once the container is running, you should see a live view of Droolidian cadets running to the rescue!

  • create network
docker network create --driver=bridge --subnet= --gateway= borkspace
  • verify that network is created
docker network ls
docker network inspect borkspace
  • launch treattransfer container using the borkspace network
docker run -it --name treattransfer --network=borkspace spacebones/nyancat
  • exit the container