Consider alternative docker image atttribute as kernel_id #19
Labels
🐛 bug
Something isn't working
⚙ config
Issues and requests related to user configuration
✨ enhancement
New feature or request
🔜 high priority
If you're looking for something to work on - consider this first
First of all great work of yours! appreciate it.
Though I met some problems when trying to install a docker image as a KernelSpec (
tensorflow/tensorflow:latest-gpu
to be precise).got an Error
it turns out that
image.attrs['ContainerConfig']['Hostname']
is just an empty string.I'm not quite familiar with docker image attrs but perhaps a sanitized image tag (e.g.
tensorflow_tensorflow_latest-gpu
)would work better here? or perhaps rather let user to decide the name/id of there kernel?Another unrelated thing is I think it would be nice if
dockernel start
(anddockernel install
) could accept docker cli flags (e.g. -v VOLUME , -p PORT, -u USER etc.). a particular flag I'd like to use is--gpus all
but it seems like it's not natively supported by py-docker upstream. Maybe give python-on-whales a try?The text was updated successfully, but these errors were encountered: