oswitch icon indicating copy to clipboard operation
oswitch copied to clipboard

Switching from inside a container

Open bmpvieira opened this issue 10 years ago • 2 comments
trafficstars

When I do bundle exec bin/switch biolinux I get inside a biolinux container but I have to exit that container to use switch again. It seems I cannot just do switch baseimage immediately after doing switch biolinux. I understand that implementing switch inside a container 1 to launch container 2 in the host OS and switch to container 2 while still inside container 1 might be challenging, but right now this isn't really a "switch" but more a "run-container-mount-everything", which is still very useful.

bmpvieira avatar Jan 15 '15 17:01 bmpvieira

Hard already in the current approach. Clueless how "switch within switch" can be done after #12.

I'm considering the name 'con' (which could mean container, or just 'con' :P).

yeban avatar Jan 15 '15 17:01 yeban

Hmmm... how about 1. detect if currently in container. 2. if so run small (independent script?) that does exit and reruns switch?

yannickwurm avatar Jan 15 '15 18:01 yannickwurm