You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Benson Margulies <be...@basistech.com> on 2015/07/30 15:51:31 UTC

Docker, amazon, ssh, ????

I have a running EC2 instance that has...
  A docker container that has ...
    A karaf installation

I can ssh into that copy of Karaf. I can start and stop that
container, reboot the instance, all's good.

However, when I make an AMI of the instance and create a new instance
from the AMI, all is not well.

One symptom is:

ssh -p 8600 karaf@localhost
ssh_exchange_identification: read: Connection reset by peer

My KARAF_DATA is on a volume outside the Docker container, so I can
easily examine the log; and the log is dead boring.

Anyone have any ideas?

Re: Docker, amazon, ssh, ????

Posted by Benson Margulies <be...@basistech.com>.
No. But an error in my systemd unit file that turned out to cause this.

On Thu, Jul 30, 2015 at 11:07 AM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> No firewall or whatever on the network level ?
>
> Regards
> JB
>
>
> On 07/30/2015 03:51 PM, Benson Margulies wrote:
>>
>> I have a running EC2 instance that has...
>>    A docker container that has ...
>>      A karaf installation
>>
>> I can ssh into that copy of Karaf. I can start and stop that
>> container, reboot the instance, all's good.
>>
>> However, when I make an AMI of the instance and create a new instance
>> from the AMI, all is not well.
>>
>> One symptom is:
>>
>> ssh -p 8600 karaf@localhost
>> ssh_exchange_identification: read: Connection reset by peer
>>
>> My KARAF_DATA is on a volume outside the Docker container, so I can
>> easily examine the log; and the log is dead boring.
>>
>> Anyone have any ideas?
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Re: Docker, amazon, ssh, ????

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
No firewall or whatever on the network level ?

Regards
JB

On 07/30/2015 03:51 PM, Benson Margulies wrote:
> I have a running EC2 instance that has...
>    A docker container that has ...
>      A karaf installation
>
> I can ssh into that copy of Karaf. I can start and stop that
> container, reboot the instance, all's good.
>
> However, when I make an AMI of the instance and create a new instance
> from the AMI, all is not well.
>
> One symptom is:
>
> ssh -p 8600 karaf@localhost
> ssh_exchange_identification: read: Connection reset by peer
>
> My KARAF_DATA is on a volume outside the Docker container, so I can
> easily examine the log; and the log is dead boring.
>
> Anyone have any ideas?
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com