sb-minimal / docker-ubuntu-apache-php

Minimal Docker Image for Apache+PHP (based on minimal ubuntu)
MIT License
1 stars 0 forks source link

run error #1

Closed daslicht closed 8 years ago

daslicht commented 8 years ago

Hi, when I try to start the image I get :

daslicht:bash_completion.d daslicht$ docker run sbminimal/docker-ubuntu-apache-php:latest 
/apache2.sh: 22: exec: /usr/sbin/apache2: not found

Whats wrong, please?

sb-minimal commented 8 years ago

updated php version made problems. should be fixed now. Thanks for the info!

daslicht commented 8 years ago

Thank you , I will try it later.

One offtopic question please, how do I sync folders with my host OS ? I am using OSX and I tried Kitematic but teh official docs and the software seam to be not in sync :)

see gitter: mitchellh/vagrant

sb-minimal commented 8 years ago

i can only speak for docker cli: use docker volumes to mount host folders into docker containers. for example:

docker run -p 80:80 -v /path/on/host:/var/www/html sbminimal/docker-ubuntu-apache-php

will run apache listening on port 80 with the local directory /path/on/host mounted to /var/www/html in the apache container.

see https://docs.docker.com/v1.10/engine/userguide/containers/dockervolumes/ for more details.

daslicht commented 8 years ago

thank you!