I created a simple ubuntu server image with just ssh server running on it. It is for CHR.
URL for image repo https://hub.docker.com/r/okazdal/ubuntu-ssh-server
After properly enabling container and setting up veth interfaces and disks, you can use it like this:
Code: Select all
/container config
set registry-url=https://registry-1.docker.io tmpdir=disk1/tmp
/container add remote-image=okazdal/ubuntu-ssh-server interface=veth1
Initial dockerfile I used to create it is below, so you can use it to install packages and other software and create your own images:
Code: Select all
FROM ubuntu:latest
RUN apt update && apt install openssh-server sudo -y
RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1000 sekuritim
RUN echo 'sekuritim:tester' | chpasswd
RUN service ssh start
EXPOSE 22
CMD ["/usr/sbin/sshd","-D"]
okazdal