Setup: Windows 10 WSL
Working commands to open a shell on the NAS and then connect to docker instance
ssh firstname.lastname@example.org -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@example.com -i ./qnap_001.pem "docker exec -it ubuntu /bin/bash"
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