-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example fails when using Docker for Mac beta #1091
Comments
I had some other issues with just running docker. I stumbled across this bug with pow.cx and docker for mac not playing well. I uninstalled pow and that resolved the initial issue I had with the 500 errors it looked like nomad was getting in the logs. But this still doesn't work. Hopefully this is an easier problem to fix. The current problem is when trying to run the example job, the nomad logs says that there's no such image as
and the images $ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
redis latest 4f5f397d4b7c 6 weeks ago 177.6 MB |
Related? #1080 |
Appears to be the same problem, but I'm running nomad natively, not in a On Friday, April 15, 2016, Alex Dadgar [email protected] wrote:
|
Lets leave both issues open |
same issue here, |
Easily reproducible by running |
It doesn't seem to be the case that binding |
The "no such image" error message is a red herring. See fsouza/go-dockerclient#528. The underlying issue is that the The container binding thing I mentioned above doesn't work because by default
I guess that's progress. 😄 |
Also encountering this problem in
|
I've been trying to get Nomad to run on the Docker for Mac beta, here's some findings: The first issue is the temporary directory location, as noted by @joeshaw. Docker shares
The second issue is the "connection refused" error: This is due to osxfs (the FUSE driver Docker uses to mount the host filesystem) not supporting socket files. This is a known issue as explained on the official docs. I can't find the osxfs repository or issue tracker to follow the status of this issue though. EDIT: see docker/for-mac#483 |
The example of |
Any update on this issue? We are still not able to run the example (or one of our own containers) using Nomad on OS X, both on El Capitan and Yosemite (not tested on Sierra yet). The containers run fine started with Docker directly. |
Hey, No update on this. It isn't really a production use case so it is fairly low priority |
@dadgar for us (@bownty) being able to run nomad across development, staging and production is high priority. Having a different tool set for development and the rest of the environment is far from optimal - so having this issue blocked is a real pain point at this time for us :( Is there any work-around or ETAs on how this can be mitigated? |
The referenced PR #1806 has made in-roads on this! |
This should work now 👍 |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Operating system and Environment details
OSX El Capitan / Docker for Mac Beta v1.11.0-beta6 (build: 5404) / Docker 1.11.0-rc3, build eabf97a
Issue
The example fails to run using docker for mac. I ran
nomad init
, and changed the kernel name to "darwin". Then I rannomad start example.nomad
.Reproduction steps
-dev
modenomad init
darwin
or remove constraint block entirelyAll relevant logs/job file/etc can be found at [https://gist.github.com/Toady00/980dd5b8b5e6d94c04e60bf8acf649c1]
The text was updated successfully, but these errors were encountered: