Trying out Docker

  1. Try out plumber penguins in your browser
docker run --rm -d \
  -p 8000:8000 \
  --name palmer-plumber \
  alexkgold/plumber
  1. Kill it
docker kill palmer-plumber
  1. Do it again
docker run --rm -d \
  -p 8000:8000 \
  --name palmer-plumber \
  alexkgold/plumber
  1. Poke around
docker exec -it palmer-plumber /bin/bash
cat api/plumber.R
exit
  1. Kill it again
docker kill palmer-plumber