Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker Ubuntu harden for security with SSH OpenSSH
Full Description

Docker Ubuntu 14.04 Harden With SSH - OpenSSH

Docker Container With Ubuntu 14.04 LTS harden and secure. Include SSH OpenSSH to access the server. The default user is user1 and the password in the latest builds details log. Visit this website for latest information about this docker and latest builds details.

This docker is installed with :-

  • OpenSSH
  • Fail2ban
  • UFW with 22/tcp allow and default deny
  • Harden and harden-nids packages
  • docker run --privileged=true is needed by iptables

Latest information in the docker/Dockerfile and hardening[.]sh

To Install On Your Server

docker pull linuxmalaysia/docker-ubuntu-14.04-harden
docker run --privileged=true -it -d -P --name my_ubuntu1 linuxmalaysia/docker-ubuntu-14.04-harden

You can then use docker port to find out what host port, the container's port 22 is mapped to :-

docker port my_ubuntu1 port 22
ssh user1@localhost -p ?????

To build yourself

git clone
cd docker-ubuntu-14.04-harden
docker build -t docker-ubuntu-14.04-harden .
docker run --privileged=true -it -d -P --name my_ubuntu1 docker-ubuntu-14.04-harden

Haris @ LinuxMalaysia

21 July 2015

Docker Pull Command