docker exec would be awesome.

So... whats redhat's stance on docker upgrades here?

I'm running centos7, and dockers topped out at 
(though redhat package versions don't always reflect the upstream version)

I tried running docker 1.2 binary from but selinux flipped out on it.

how long before docker exec actually is useful solution for debugging on such 

From: Lars Kellogg-Stedman []
Sent: Thursday, October 16, 2014 7:14 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [kolla] on Dockerfile patterns

On Fri, Oct 17, 2014 at 12:44:50PM +1100, Angus Lees wrote:
> You just need to find the pid of a process in the container (perhaps using
> docker inspect to go from container name -> pid) and then:
>  nsenter -t $pid -m -u -i -n -p -w

Note also that the 1.3 release of Docker ("any day now") will sport a
shiny new "docker exec" command that will provide you with the ability
to run commands inside the container via the docker client without
having to involve nsenter (or nsinit).

It looks like:

    docker exec <container_id> ps -fe


    docker exec -it <container_id> bash

Lars Kellogg-Stedman <> | larsks @ {freenode,twitter,github}
Cloud Engineering / OpenStack          |

OpenStack-dev mailing list

Reply via email to