sen icon indicating copy to clipboard operation
sen copied to clipboard

allow running arbitrary commands in running containers

Open TomasTomecek opened this issue 10 years ago • 5 comments

  • [ ] non-interactive commands (e.g. cat /var/log/messages)
  • [ ] interactive commands (e.g. bash -i)

TomasTomecek avatar Oct 01 '15 08:10 TomasTomecek

As I was reading the README, just thought to myself this would be an awesome thing to have. Maybe even expand the feature a little - allow running arbitrary commands, but default to 'bash'.

Tinche avatar Nov 23 '15 20:11 Tinche

Unfortunately atm docker-py and dockerpty doesn't support interactive exec (equiv of docker exec -ti conainer bash). I've started working on it and you can partially track progress: https://github.com/docker/docker-py/pull/858 https://github.com/d11wtq/dockerpty/pull/48

Once I get the support in docker-py and dockerpty, I will start working on a full exec support: interactive and non-interactive. Before that, I am not planning to work on just partial support.

But thanks for headsup, will update this -- this was actually just a tracking issue so I won't forget about this feature.

TomasTomecek avatar Nov 24 '15 15:11 TomasTomecek

Awesome! Thanks.

Tinche avatar Nov 24 '15 15:11 Tinche

Now that you appear to have added exec support into docker-py, etc. it would be great to have exec support through to the docker container. This is one of the major items that prevents me from sitting inside sen all the time (that and the need to use docker-compose / swarm)!

portwaypoint avatar Dec 07 '16 11:12 portwaypoint

Exactly, me too.

Honestly, I sort of lost motivation to work on sen. Hopefully I could have some time to work on it around Christmas.

TomasTomecek avatar Dec 07 '16 11:12 TomasTomecek