create a shortcut cmd in the launcher to immediately get into the hosted container's shell
hellt opened this issue · comments
Roman Dodin commented
create the executable /usr/local/bin/sshin
with the following contents
#!/bin/bash
ssh $(docker ps -a --format {{.Names}})
Then, when connected to the launcher a user might just type sshin
and get into the shell.
This will also work with the kubectl:
k exec -it <pod-name> -- sshin