Skip to content

Instantly share code, notes, and snippets.

@sou
Created February 3, 2014 05:46
Show Gist options
  • Save sou/8779376 to your computer and use it in GitHub Desktop.
Save sou/8779376 to your computer and use it in GitHub Desktop.
docker run command wrapper
#!/bin/sh
CONTAINER_ID=$(docker $*)
logger "CONTAINER_ID: " $CONTAINER_ID
pipework br1 $CONTAINER_ID dhcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment