ContainerSolutions / minimesos

The experimentation and testing tool for Apache Mesos - NO LONGER MAINTANED!
https://www.minimesos.org
Apache License 2.0
429 stars 61 forks source link

Can't build with Docker for Mac #480

Closed pjlegato closed 8 years ago

pjlegato commented 8 years ago

Attempting to build the master branch fails:

Executing task ':cli:copyDockerfile' (up-to-date check took 0.068 secs) due to:
  No history is available.
:cli:copyDockerfile (Thread[Daemon worker,5,main]) completed. Took 0.075 secs.
:cli:buildDockerImage (Thread[Daemon worker,5,main]) started.
:cli:buildDockerImage FAILED
:cli:buildDockerImage (Thread[Daemon worker,5,main]) completed. Took 0.042 secs.

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':cli:buildDockerImage'.
> Directory '/Users/pjlegato/.boot2docker/certs/boot2docker-vm' specified for property 'certPath' does not exist.

* Try:
Run with --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskValidationException: A problem was found with the configuration of task ':cli:buildDockerImage'.
[...]
Caused by: org.gradle.api.InvalidUserDataException: Directory '/Users/pjlegato/.boot2docker/certs/boot2docker-vm' specified for property 'certPath' does not exist.
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:47)

It appears to be looking for a ~/.boot2docker/ directory.

According to https://docs.docker.com/engine/installation/mac/ , boot2docker has been deprecated for several versions.

frankscholten commented 8 years ago

Yes. I will update the documentation.

pjlegato commented 8 years ago

I was able to make it work on Mac by downgrading to the older Docker Toolbox package, which uses Docker 1.11. Edit: I made the precompiled binaries run, I haven't tried building it.

frankscholten commented 8 years ago

Ok, good to hear you got it working on Mac.