I'm trying to narrow down the source of a bug where a docker container sshd closes the
connection after a successful authentication
(
https://bugzilla.redhat.com/show_bug.cgi?id=1085081) - filed with libvirt as there's
no docker-io component for RHEL 6.5 in bugzilla.
One of the steps I'm taking is to reproduce a similar setup using LXC but while it
seemed to have worked I'm not sure I've properly reproduced the setup I would have
with docker.
I've based myself on the RHEL 7b Linux Container Guide
1. Created a HelloWorld containe based on the sample config file
<domain type='lxc'>
<name>test-container</name>
<memory>102400</memory>
<os>
<type>exe</type>
<init>/bin/sh</init>
</os>
<devices>
<console type='pty'/>
</devices>
</domain>
2. Defined, started and connected to it using virsh
3. Obtained the ip and started sshd
4. And when I logged in via sshd I got the bash from the host
Any assistance would be appreciated.
Arno
--------------------
Confidentiality Statement - The contents of this e-mail, including its attachment, are
intended for the exclusive use of the recipient and may contain confidential or privileged
information. If you are not the intended recipient, you are strictly prohibited from
reading, using, disclosing, copying, or distributing this e-mail or any of its contents.
If you received this e-mail in error, please notify the sender by reply e-mail immediately
or the Privacy Office (privacy(a)ottawahospital.on.ca ) and permanently delete this e-mail
and its attachments, along with any copies thereof. Thank you.
Avis de confidentialit� � Ce courriel, y compris ses pi�ces jointes, s�adresse au
destinataire uniquement et pourrait contenir des renseignements confidentiels. Si vous
n��tes pas le bon destinataire, il est strictement interdit de lire, d�utiliser, de
divulguer, de copier ou de diffuser ce courriel ou son contenu, en partie ou en entier. Si
vous avez re�u ce courriel par erreur, veuillez en informer imm�diatement l�exp�diteur ou
le bureau de la Protection des renseignements personnels
(info.privee(a)hopitalottawa.on.ca), puis effacez le courriel ainsi que les pi�ces jointes
et toute autre copie. Merci.
--------------------