On 10/17/2014 09:47 AM, Fox, Kevin M wrote:
docker exec would be awesome.

So... whats redhat's stance on docker upgrades here?
I can't speak for Red Hat specifically (ethics concerns) but Atomic, Red Hat's bare-bones distribution based upon RHEL has docker 1.2. Atomic will move faster then RHEL and likely have the first upgrade to docker 1.3. Knowing the RHT workflow, I expect a rebase of docker will hit RHEL 7 at some point in the near future, but I don't know the specific schedules.

Regards
-steve

I'm running centos7, and dockers topped out at 
docker-0.11.1-22.el7.centos.x86_64.
(though redhat package versions don't always reflect the upstream version)

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

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

Thanks,
Kevin
________________________________________
From: Lars Kellogg-Stedman [l...@redhat.com]
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

Or:

     docker exec -it <container_id> bash

--
Lars Kellogg-Stedman <l...@redhat.com> | larsks @ {freenode,twitter,github}
Cloud Engineering / OpenStack          | http://blog.oddbit.com/


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to