Allows a user with CAP_SYS_ADMIN capability to switch into a specified docker container and
execute a command. Typical use for this would be to run admin commands within a container.
User SSH
Add geard-switchns as a command to the .authorized_keys file. Eg:
When the user SSH's into the host machine, SSH runs geard-switchns. The utility then
looks up a docker container with the same name as the username and starts a bash shell
within the container.
The switchns binary - an executable for executing a process inside a running Docker container.
Can be used as root to switch into any named container (name is the same as the gear name), or
as a container user (user tied to a container) to enter the context for SSH or other function.
Will be eventually become a setuid stub for docker exec.