Build and Run in one step

shell docker run -it $(docker build -q .)

• Follows company best practices and style guide

Docker example repo for Phoenix Webframework

Docker compose

Compose File reference Awesome docker compose examples

Restart a service with changes in docker-compose

docker-compose stop -t 1 worker
docker-compose build worker
docker-compose up --no-start worker
docker-compose start worker

Named Volumes with mount

 
volumes:
  yacy_data:
    driver: local
    driver_opts:
      type: 'none'
      o: 'bind'
      device: "~/data/yacy_data"

Docker registry

curl -X GET -u username:password https://registry.url/v2/_catalog