Skip to content

Instantly share code, notes, and snippets.

@spig
Created July 8, 2020 23:49
Show Gist options
  • Save spig/d4aa464062cee293291feb63d94abca3 to your computer and use it in GitHub Desktop.
Save spig/d4aa464062cee293291feb63d94abca3 to your computer and use it in GitHub Desktop.
docker run \
--name ubuntu \
-e HOST_IP=$(ifconfig en0 | awk '/ *inet /{print $2}') \
-v /Users/hudson/Workspaces:/src \
-t -i \
ubuntu /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment