I'm having trouble using docker-py in a development environment on OSX
I am creating Python code that will be built into a docker image. My intent is that the docker image will have the capability of running other docker images on the host. Let's call these docker containers "daemon" and "workers," respectively. I've proven that this concept works by running "daemon" using -v /var/run/docker.sock:/var/run/docker.sock I'd like to be able to write the code so that it will work anywhere that there exists a /var/run/docker.sock file. Since I'm working on an OSX machine I have to use the Docker Quickstart terminal. As such, on my system there is no docker.sock file. The docker-py documentation shows this as the way to capture the docker client: from docker import Client cli = Client(base_url='unix://var/run/docker.sock') Is there some hackery I can do on my system so that I can instantiate the docker client that way? Can I create the docker.sock file on my file system and have it sym-linked to the VM docker host? I really don't want to have to build my docker image every time I was to test a single line code change... help!!!
Python Dictionary Sorting Using Sorted
xlwt: 'CommonToken' object has no attribute 'txt'
Python repeat while user enters negative number
Assign different operators during python loop
When installing through pip, how do I tell matplotlib how to find tkinter?
Regex for weekdays in python [closed]
Detect Changes to Environment Variables
Select all by type: Geometry. Equivalent Python script?
Sorting algorithm doesn't work
How to avoid “Name 're' is not defined” error while connecting pycharm remote debugger?
Python - Generate binary list with itertools
Capture domain and path from URL with regex
Pylab animation multiple figures
Django Password Reset Email Error 10060
Excel delimited file
Why is scrapy dumping thousands of `ERROR` log messages without any description of the error?