Skip to content

Docker image with passwordless sshd server and nginx serving static page

License

Notifications You must be signed in to change notification settings

viliusl/docker-sshd-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-sshd-nginx

Dockerfile for building docker container with passwordless sshd server and nginx serving static page. This is mostly a template for some possibly useful image.

About

This repository contains all needed resources to build a docker image with following features:

  • sshd with passwordless login;
  • nginx running and serving simple static page.
  • services configured and runnign via supervisor.

For convenience there is a ./manage.sh command for building, starting (with proper port mappings), stopping and connecting via ssh.

Usage

You can download this image from public Docker Registry.

Run using command:

docker run -d -p 55522:22 -p 55580:80 viliusl/ubuntu-sshd-nginx

Connect via ssh:

ssh root@localhost -p 55522

Just don't forget to add private key (yeah, I know) from ssh_keys folder to you '~/.ssh/' and add it via 'ssh-add'

Happy cooking.

About

Docker image with passwordless sshd server and nginx serving static page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages