Build command: ./manage.py base
Just clean archlinux image based docker/contrib/mkimage-arch.sh.
Build command: ./manage.py sshd
Minimal image with supervisor and sshd.
Login over ssh with root user and no password.
Build command: ./manage.py web
- supervisor
- sshd
- nginx
- fcron
- logrotate
NB: Required authorized_keys to login over ssh
FROM naspeh/web
ADD authorized_keys /root/.ssh/
RUN chmod 600 /root/.ssh/authorized_keysdocker run -d --net=host --name=web naspeh/web
docker exec -i web /bin/bash -c 'cat >> /root/.ssh/authorized_keys' < ~/.ssh/id_rsa.pub
ssh root@localhost -p2200