allow running arbitrary commands in running containers
- [ ] non-interactive commands (e.g.
cat /var/log/messages) - [ ] interactive commands (e.g.
bash -i)
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'.
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.
Awesome! Thanks.
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)!
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.