Skip to content

Instantly share code, notes, and snippets.

@mikesorae
Created September 5, 2014 01:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikesorae/b499e207a8cd29a9a00f to your computer and use it in GitHub Desktop.
Save mikesorae/b499e207a8cd29a9a00f to your computer and use it in GitHub Desktop.
add ip address to docker container with pipework
sudo /var/lib/pipework/pipework $BRIDGE_NAME $CONTAINER_ID $IP_ADDR/24
sudo ip addr add $IP_ADDR/24 dev $BRIDGE_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment