SSH into a pushed Docker image
The SSH support in Diego is awesome. I'm wondering whether it's possible to
SSH into a pushed Docker image as well? If yes, what need to be done in the
docker image in order to get it working?
Meanwhile, I suppose the tcp-routing support is still not available in
Thanks in advance!
diego ssh support should work with docker images. there likely are sometoggle quoted messageShow quoted text
minimal prerequisites for things in the image like a shell or whatever
executables you would try with ssh. here is my output from the
cloudfoundry/lattice-app docker image
lattice is about to have tcp router support included. it will take a little
while longer to get it into full CF.
$ cf ssh jbayer-lattice-app
BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ # ls -al
drwxr-xr-x 1 root root 84 Aug 28 20:18 .
drwxr-xr-x 1 root root 84 Aug 28 20:18 ..
drwxr-xr-x 1 root root 2336 Aug 28 20:18 bin
drwxr-xr-x 1 root root 122 Aug 28 20:18 dev
drwxr-xr-x 1 root root 108 Aug 28 20:18 etc
-rwxr-xr-x 1 root root 6971512 Aug 28 01:54 lattice-app
drwxr-xr-x 1 root root 400 May 22 2014 lib
lrwxrwxrwx 1 root root 3 May 22 2014 lib64 -> lib
dr-xr-xr-x 187 65534 65534 0 Aug 28 20:18 proc
lrwxrwxrwx 1 root root 3 May 22 2014 sbin -> bin
dr-xr-xr-x 13 65534 65534 0 Aug 28 20:18 sys
drwxrwxrwt 1 root root 40 Aug 28 20:18 tmp
On Fri, Aug 28, 2015 at 11:43 AM, Jack Cai <greensight(a)gmail.com> wrote:
The SSH support in Diego is awesome. I'm wondering whether it's possible
Matthew Sykes <matthew.sykes@...>
The diego ssh daemon is a statically linked binary so if you have a /bin/shtoggle quoted messageShow quoted text
or a /bin/bash in your docker image, it should work. The scp support is
also baked in so you don't need that binary at the target either.
On Fri, Aug 28, 2015 at 4:21 PM, James Bayer <jbayer(a)pivotal.io> wrote:
diego ssh support should work with docker images. there likely are some