fangli / rancherssh

Native SSH Client for Rancher Containers, provided a powerful native terminal to manage your docker containers
Apache License 2.0
101 stars 12 forks source link

log into a container with another user #1

Closed iopsthecloud closed 8 years ago

iopsthecloud commented 8 years ago

I've a container running in daemon:daemon so when I do a rancherssh I come into the container with the daemon user.

Is there a possibility to log into the container with another user like root ?

fangli commented 8 years ago

Since rancher doesn't support changing user via API, it's not likely I can do it.