snap execution of /usr/bin/ssh fails => remote context can not be used
Why this is important
When running docker in a VM, or on a production host, I cannot manage the containers from my local machine.
This also means I cannot use/access containers in my IDE (VS Code). Running a docker blueprint in multipass or lxd is only possible with an install of the upstream, unsnapped docker.
To reproduce:
docker context create rem --docker "host=ssh://user@host"
docker context use rem
docker ps
fails with the error message
error during connect: Get "http://docker.example.com/v1.24/containers/json": fork/exec /usr/bin/ssh: permission denied
snap execution of /usr/bin/ssh fails => remote context can not be used
Why this is important
When running docker in a VM, or on a production host, I cannot manage the containers from my local machine. This also means I cannot use/access containers in my IDE (VS Code). Running a docker blueprint in multipass or lxd is only possible with an install of the upstream, unsnapped docker.
To reproduce:
fails with the error message
error during connect: Get "http://docker.example.com/v1.24/containers/json": fork/exec /usr/bin/ssh: permission denied