Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 539 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 539 Bytes

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