Skip to content

MaxenceG2M/docker-apache2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Docker image for a light apache2

A docker container with an apache2 allow a (really) simple SSH connection (via password). Based on the excellent baseimage-docker from phusion

Quick start

Build the container :

docker build -t maxenceg2m/apache2 .

Run the container :

sudo docker run -d \
  --name="apache2" \
  -p 80:80 \
  -p 443:443 \
  maxenceg2m/apache2

To connect via ssh, first get the IP of the container and just do an SSH connection.

sudo docker inspect apache2 | grep IPAddress
ssh root@<IPAddress> # Password is 'root'

Change the root password or disable it in the Dockerfile.

About

Docker for Apache2 from https://github.com/phusion/baseimage-docker allow SSH connection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages