-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add docker support #7
Comments
Feel free to do so 👍 I'm not using docker that much 😀 |
haha no problem! I just created this issue in the hope someone would create it for me 😝 |
OK, I tried to implement it, and I have a crude version working here. I say crude, because there are a few problems that I could not solve:
I also 'enhanced/improved/...' the script so that it will now also work when an ssh/docker command was ran from a subprocess. Not too sure if it is useful for ssh, but I tend to run my docker containers from shell scripts, so I dont have to remember and retype all the flags I need! I dont feel like my changes merit a pull request, but I felt like posting my progress here, so that someone that feels competent enough to In the meanwhile, I'll just use my fork, as it works for me (I tend to always name containers I frequently use, and dont really use other users except for the main root one...) |
It would be nice to add support for docker containers, in the same way you have the ssh working..
Check if the current command is
docker/nvidia-docker run
, and get the container-name if that is the case!I might take a stab at implementing it myself. I'll submit a pr if I'm successful!
The text was updated successfully, but these errors were encountered: