Sign inSign up

linuxmalaysia/docker-centos-latest-harden

By linuxmalaysia

•Updated over 6 years ago

Docker Centos Latest. My Own test platform. Used at your own risk. root password Xa0Iegh3

Image
0

280

linuxmalaysia/docker-centos-latest-harden repository overview

⁠Docker Centos 8 With OpenSSH

This is my testing docker. Used at your own risk.

Docker Container With Centos 8 harden and secure. Include SSH OpenSSH to access the server. The default user is root and the password is here :-

https://hub.docker.com/repository/docker/linuxmalaysia/docker-centos-latest-harden/general⁠

This docker is installed with :-

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

Dockerfile still with this warning.

[WARNING]: Empty continuation lines will become errors in a future release.

⁠To installed in your Linux
docker pull linuxmalaysia/docker-centos-latest-harden
docker run --privileged=true -it -d -P --name my_centos8 linuxmalaysia/docker-centos-latest-harden

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

docker port my_centos8
docker port my_centos8 port 22/tcp
ssh user1@localhost -p ?????
⁠To build yourself
git clone https://github.com/HarisfazillahJamel/docker-centos-latest-harden.git
cd docker-centos-latest-harden
docker build -t docker-centos-latest-harden .
docker run --privileged=true -it -d -P --name my_centos8 docker-centos-latest-harden

haris @ Harisfazillah Jamel @ LinuxMalaysia

28 Jan 2020

Tag summary

Content type

Image

Digest

Size

277.1 MB

Last updated

over 6 years ago

docker pull linuxmalaysia/docker-centos-latest-harden