Skip to content

A small example on how to connect containers together using docker networks

Notifications You must be signed in to change notification settings

gapitio/container-networks-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Container networks example

A small example on how to connect containers together using docker networks

Create docker network

docker network create net-test

Build docker images

Build client docker image

docker build client -t client

Build server docker image

docker build client -t client

Start the containers

Start the server container

docker compose -f ./server/compose.yaml up

Start the client container

docker compose -f ./client/compose.yaml up

About

A small example on how to connect containers together using docker networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published