docker-training
docker-training copied to clipboard
counter example without compose
docker build -t counter .
docker network create counter
docker run --name redis -d --net counter -v redis-data:/data redis
docker run --name counter -d --net counter -p 80:80 counter
docker stop counter redis
docker rm counter redis
docker network rm counter