Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching from inside a container #10

Open
bmpvieira opened this issue Jan 15, 2015 · 2 comments
Open

Switching from inside a container #10

bmpvieira opened this issue Jan 15, 2015 · 2 comments

Comments

@bmpvieira
Copy link
Member

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.

@yeban
Copy link
Contributor

yeban commented Jan 15, 2015

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).

@yannickwurm
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants