-
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
Container image not found for docker job #1863
Comments
@sronsiek see this issue: #1080 Basically you can avoid a lot of problems by not running the Nomad client in a docker container. It is supposed to run and fully manage your node and it does not expect that it's own process is running in a sandboxed environment. That's where miscommunication with the docker daemon starts to happen because paths are being referred to that only exist in the Nomad client sandbox and not on the host, where the docker daemon is running. |
I checked #1080, ksinica's comment is correct, the issue can be resolved by mounting the /tmp directory of the nomad client container on /tmp of the host. @iverberk: Thanks for the pointer! Having committed to running applications in containers, it seems logical to do the same with nomad & consul, which provides common deployment and admin methods. |
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. |
Hi,
I'm running consul (0.7.0) + nomad client (0.4.1) + nomad server (0.4.1), each in separate docker containers on a cluster of 3 physical Linux hosts.
nomad server-members
run in the server container looks good:Running the following job:
... produces the following entries in the logs:
Here the first line says the docker image has been identified, that last line says
no such image
.Seems contradictory - and the container is not launched.
The text was updated successfully, but these errors were encountered: