Skip to content

Instantly share code, notes, and snippets.

@monokrome
Last active December 27, 2015 21:39
Show Gist options
  • Save monokrome/7393654 to your computer and use it in GitHub Desktop.
Save monokrome/7393654 to your computer and use it in GitHub Desktop.
Allow Shipyard to access docker on port 4243.
sudo ufw allow from $(docker inspect $(docker ps | grep 'shipyard/shipyard' | grep Up | cut -d \ -f 1) | grep IPAddress | cut -f 4 -d \") to any port 4243
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment