splitbrain / docker-phpfarm

A Dockerfile to build an image running multiple PHP versions on Apache
http://www.splitbrain.org/blog/2014-02/02-docker_phpfarm
MIT License
226 stars 61 forks source link

Error during "docker run" #3

Closed AxelBriche closed 7 years ago

AxelBriche commented 9 years ago

Hello, I have an error when I use docker run:

In sudo:

docker run --rm -t -i -e APACHE_UID=$UID -v $PWD:/var/www:rw -p 8052:8052 -p 8053:8053 -p 8054:8054 -p 8055:8055 -p 8056:8056 splitbrain/phpfarm useradd: UID 0 is not unique chown: invalid user: wwwrun' /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted) chown: invalid user:wwwrun'

With basic user:

docker run --rm -t -i -e APACHE_UID=$UID -v $PWD:/var/www:rw -p 8052:8052 -p 8053:8053 -p 8054:8054 -p 8055:8055 -p 8056:8056 splitbrain/phpfarm /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted) apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.6 for ServerName [Wed Mar 18 19:05:22 2015] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 configured -- resuming normal operations

Why please ? Thanks.

splitbrain commented 8 years ago

Sorry I can not reproduce this. What is your $UID?