Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Error while using nvidia-docker #119

Closed
venkatsatish opened this issue Jun 21, 2016 · 7 comments
Closed

Error while using nvidia-docker #119

venkatsatish opened this issue Jun 21, 2016 · 7 comments
Labels

Comments

@venkatsatish
Copy link

Error while using the nvidia-docker in the presence of weave. nvidia-docker shows me the following error . if we run the docker without nvidia-docker it works fine.

nvidia-docker | 2016/06/21 17:16:50 Error: invalid remote host URI

@3XX0
Copy link
Member

3XX0 commented Jun 23, 2016

Interesting, can you output the environment variable DOCKER_HOST?

@venkatsatish
Copy link
Author

DOCKER_HOST variable is not set , but i am still able to use nvidia-drivers inside docker using REST API of nvidia-docker plugin

@3XX0
Copy link
Member

3XX0 commented Jun 23, 2016

DOCKER_HOST or NV_HOST is set somehow in your environment (maybe Weave does it) otherwise the error wouldn't occur.

@venkatsatish
Copy link
Author

weave sets DOCKER_HOST variable
echo $(weave env)
export DOCKER_HOST=unix:///var/run/weave/weave.sock ORIG_DOCKER_HOST=

@3XX0
Copy link
Member

3XX0 commented Jun 23, 2016

Ok yes that's an issue in the parsing of DOCKER_HOST. I think you can workaround it for now by setting NV_HOST:

export NV_HOST=localhost:

@3XX0 3XX0 added the bug label Jun 23, 2016
@flx42
Copy link
Member

flx42 commented Aug 3, 2016

Ping @venkatsatish, is it working for you?

@flx42 flx42 closed this as completed in 7a61e9b Aug 3, 2016
@flx42
Copy link
Member

flx42 commented Aug 3, 2016

It should be supported now with commit 7a61e9b, but for now you will need to generate the package yourself (make deb or make rpm) until we publish 1.0.0 (or rc4)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants