Setup: Windows 10 WSL
Working commands to open a shell on the NAS and then connect to docker instance
ssh [email protected] -i ./qnap_001.pem
[~] # docker exec -it ubuntu /bin/bash
root@ubuntu:/#
Now I would like to ssh in and connect to the docker instance but this does not work.
ssh [email protected] -i ./qnap_001.pem "docker exec -it ubuntu /bin/bash"
Returns
sh: docker: command not found
I've spent a few hours reading posts but can't crack it. When solved I'll set it up with a hotkey in ConEmu to open the shell in the docker instance