Service 'phpfpm' failed to build
fabarea opened this issue · 4 comments
fabarea commented
FYI, when running docker-compose up -d
, I get a failed build. Not sure what is the cause.
$> root@vagrant-ubuntu-trusty-64:/home/vagrant/docker-lemp# docker-compose up -d
(...)
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
---> 037403fbfb37
Removing intermediate container 9c52d14a9eff
Step 3 : RUN docker-php-ext-install gd
---> Running in a81be4c0141b
Service 'phpfpm' failed to build: Error getting container a81be4c0141b41922c248e4c13080d24931ced354c8c46036cb86e8f336277e9 from driver devicemapper: open /dev/mapper/docker-8:1-262148-a81be4c0141b41922c248e4c13080d24931ced354c8c46036cb86e8f336277e9: no such file or directory
docker --version
Docker version 1.5.0, build a8a31ef
docker-compose --version
docker-compose 1.1.0
stucki commented
Hi Fabien, seems like a Docker specific problem to me. Try to remove the named container and try again.
fabarea commented
Looks to be a temporary problem. Works now at the second attempt:
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5242c258067f dockerlemp_nginx:latest "nginx -g 'daemon of 9 minutes ago Up 9 minutes 443/tcp, 0.0.0.0:8080->80/tcp dockerlemp_nginx_1
182ba5c40388 dockerlemp_phpfpm:latest "php-fpm" 9 minutes ago Up 9 minutes 9000/tcp dockerlemp_phpfpm_1
7841a5d824b1 busybox:latest "/bin/sh" 10 minutes ago Up 10 minutes dockerlemp_htdocs_1
c3e0db1d03df mariadb:latest "/docker-entrypoint. 10 minutes ago Up 10 minutes 3306/tcp dockerlemp_db_1
fabarea commented
So, container dockerlemp_htdocs_1
- busybox based - is for storing the file in this case, if I follow correctly and is a shared Volume.
stucki commented
Right! It has no other function.