TritonDataCenter / smartos-live

For more information, please see http://smartos.org/ For any questions that aren't answered there, please join the SmartOS discussion list: https://smartos.topicbox.com/groups/smartos-discuss
1.57k stars 246 forks source link

[feature] vmadm console should try to do dockerexec bash for docker zones #890

Open sjorge opened 4 years ago

sjorge commented 4 years ago

Sometimes it is useful to get a shell in a docker zone, zlogin -i /native/usr/sbin/dockerexec bash usually does the trick.

It looks like vmadm console is not hooked up for docker so it might be nice to have that do zlogin + dockerexec.

Maybe with an optional shell path that can be set in the vmadm payload.