Docker menyusun perintah
docker-compose ps
docker-compose up
docker-compose down
Better Buzzard
docker-compose ps
docker-compose up
docker-compose down
docker-compose start
docker-compose stop
# docker-compose.yml
version: '2'
services:
web:
build: .
# build from Dockerfile
context: ./Path
dockerfile: Dockerfile
ports:
- "5000:5000"
volumes:
- .:/code
redis:
image: redis
docker-compose pause
docker-compose unpause