Skip to content

Instantly share code, notes, and snippets.

@joaodaher
Created February 5, 2017 21:31
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 joaodaher/844b67d12842b4bd4a39b64a27f82cda to your computer and use it in GitHub Desktop.
Save joaodaher/844b67d12842b4bd4a39b64a27f82cda to your computer and use it in GitHub Desktop.
Run Docker daemon
brew install socat
socat TCP-LISTEN:2375,reuseaddr,fork UNIX-CONNECT:/var/run/docker.sock
In PyCharm, go to Preferences>Build,Execution>Docker and add a new:
API URL: tcp://localhost:2375
Certficates Folder: <empty>
Docker Compose Executable: /Applications/Docker.app/Contents/Resources/bin/docker-compose
Create a new Run Configuration>Docker Deployment:
Select the docker-compose.yml or the Dockerfiles available
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment