####Build
docker build -t mapcache-memcached .
####Run
Run memcached container (not required to reproduce error)
docker run -it -d --name mymemcached memcached
Run Mapcache linked to Memcached
docker run -it -d -p 8181:80 --link mymemcached:mymemcached --name mapcache-failing mapcache-memcached
####Enter container and start Apache2 service
docker exec -it mapcache-failing /bin/bash
Inside container do:
service apache2 start
Tail Apache error log and segmentation fault:
tail -f /var/log/apache2/error.log
Go to your browser and test:
http://:8181/mapcache/demo/wms