Interacting with containers

Changes to the examples

Commands

docker-compose up -d
docker-compose exec alpine sh
ping composeexample_pg_1
ping pg
exit
docker-compose stop alpine
docker-compose rm alpine
docker-compose up -d

Using a volume

Integrate the demo_web_app