Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am moafred on github.
  • I am moafred (https://keybase.io/moafred) on keybase.
  • I have a public key ASAkc8laqE7rA_9Meo-tkj2NBHPJJs_FXUqqkrZVReMLZAo

To claim this, I am signing this object:

@moafred
moafred / gist:5beb4fae47e31228dbee928bc9a7e485
Last active December 12, 2018 16:04
Host IP from boot2docker VM
ssh into your boot2docker vm
`ip r | awk '/default/{print $3}`
log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd) %C(bold blue)<%an>%Creset' --abbrev-commit

Project Title

For who, and what for. Not the implementation.

Getting Started

If you want to say something about the local development or production.

Prerequisites

`/etc/logrotate.d/docker-container`
```/var/lib/docker/containers/*/*.log {
rotate 7
daily
compress
size=1M
missingok
delaycompress
copytruncate