Public Repository

Last pushed: a year ago
Short Description
test container with apache on ubuntu and 2 virtual hosts (self-educational purpose)
Full Description

How to use:

  1. Place index.html files for virtual hosts in folders, into same folder with Dockerfile
  2. Edit ENV variables in Dockerfile, should be the same names as folders (,
  3. Build container:
    sudo docker build -t dexnov17/test .
  4. Run container:
    sudo docker run --rm -ti -p 8088:80 dexnov17/test /usr/sbin/apache2ctl -D FOREGROUND
  5. Test:, Make sure names are resolved properly !
Docker Pull Command