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

ENHANCEMENT: Option run container interactive #55

Closed
peter1000 opened this issue Feb 17, 2014 · 5 comments
Closed

ENHANCEMENT: Option run container interactive #55

peter1000 opened this issue Feb 17, 2014 · 5 comments

Comments

@peter1000
Copy link
Contributor

eventhough subuser is about running apps - sometimes I find myself in the need to inspect a container: e.g. to test some apt-get install updates ect..

till now one has to go through docker: e.g.

sudo docker run -i -t subuser-firefox_libx11_libubuntu_trusty /bin/bash

I suggest adding something similar to subuser run: e.g to a new logo to subuser program:
firefox_libx11_libubuntu_trusty container

$ subuser run firefox_libx11_libubuntu_trusty --container

keep common task in subuser interface

@peter1000
Copy link
Contributor Author

in the seldom case that a progrm docker image has n /bin/bash one will get an error:
one option would be to specify such in the permissions.json

e.g.
allow-interactive:

or
path-to-shell: I prefer this because it solves 2 problem:

  • define if there is an shell
  • and also the path to the shell:

then one can do something to:

 try:
     pathToShelll = permissions["path-to-shell"]
     dockerCommand = "docker run -i -t bla bla  pathToShelll"

@peter1000
Copy link
Contributor Author

BTW: I did not know one can pass on on arguments to the program through subuser run it should be mention in the help.

@peter1000
Copy link
Contributor Author

I'm working now on this and will send later a proposed pullrequest

@timthelion
Copy link
Contributor

I don't like this idea. I don't see a reason to duplicate functionality that docker already manages just fine.
Sorry :(

@peter1000
Copy link
Contributor Author

can be close

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

No branches or pull requests

2 participants