Skip to content

Instantly share code, notes, and snippets.

@alejandrociatti
Created January 30, 2019 00:21
Show Gist options
  • Save alejandrociatti/2bf760b7346e4f5f20e565e9b5e356f2 to your computer and use it in GitHub Desktop.
Save alejandrociatti/2bf760b7346e4f5f20e565e9b5e356f2 to your computer and use it in GitHub Desktop.
#!/bin/bash
docker kill $(docker ps -q)
docker build -t timeline-calc . \
&& docker run --log-driver=syslog --log-opt syslog-address=udp://logs7.papertrailapp.com:24524 -d --rm -p 8080:8080 timeline-calc \
&& say "done" && docker attach $(docker ps -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment