emacs-pe / docker-tramp.el

TRAMP integration for docker containers
340 stars 25 forks source link

Works with some docker images, but doesn't work with nvcr.io/nvidia/tensorflow:19.12-tf1-py3 #27

Closed isaprykin closed 4 years ago

isaprykin commented 4 years ago

Hello! This utility would have been very convenient if it worked for me.

I can connect to a running instance of nvidia/cuda, but not nvcr.io/nvidia/tensorflow:19.12-tf1-py3. Could you please help me? I tried running with tramp-verbose 6, but I can't figure out what's so different about the two scenarios when it works and when it doesn't.

Tramp: Opening connection for cedf99ccbf03 using docker...
Tramp: Sending command ‘exec docker  exec -it  cedf99ccbf03 sh’
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on ‘cedf99ccbf03’
Tramp: Opening connection for cedf99ccbf03 using docker...failed
This is GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2019-09-22, modified by Debian
isaprykin commented 4 years ago

Okay, phew! It's still sad, but after I symlinked sh into bash inside the container I was able to connect.