Christian Kadner created SPARK-17803:
----------------------------------------

             Summary: Docker integration tests don't run with "Docker for Mac"
                 Key: SPARK-17803
                 URL: https://issues.apache.org/jira/browse/SPARK-17803
             Project: Spark
          Issue Type: Dependency upgrade
          Components: Tests
    Affects Versions: 2.0.1
         Environment: Mac OS X 10.10.5, Docker for Mac
            Reporter: Christian Kadner
            Priority: Minor


The {{docker-integration-tests}} can be run on Mac OS X with _[Docker 
Toolbox|https://docs.docker.com/toolbox/overview/]_. However _Docker Toolbox_ 
comes with a cumbersome setup (VirtualBox VM running boot2docker Linux distro, 
tricky to do port mapping, ...). 
A much preferable way to work with Docker on Mac OS X it is to use the _[Docker 
for Mac|https://docs.docker.com/docker-for-mac/docker-toolbox/]_ native 
application but Spark's {{docker-integration-tests}} don't run with _Docker for 
Mac_. The 
[work-around|https://github.com/spotify/docker-client#a-note-on-using-docker-for-mac]
 to set {{DOCKER_HOST=unix:///var/run/docker.sock}} is not the most straight 
forward find.

We should upgrade the [spotify 
docker-client|https://mvnrepository.com/artifact/com.spotify/docker-client] 
dependency from 3.6.6 to 4.0.8 or later which supports "Docker for Mac" out of 
the box.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to