Answer the question
In order to leave comments, you need to log in
How to run docker with a big project?
Good morning!
Situation
1) have docker-compose
php-fpm:
image: php:7.2-fpm
env_file: .env
volumes:
<b>- ./:/var/www</b>
docker-compose up -d --build
Building nginx
ERROR: Error processing tar file(exit status 1): write /frontend/web/img/products/81/some_image.jpg: no space left on device
:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 982M 0 982M 0% /dev
tmpfs 200M 7.7M 193M 4% /run
/dev/vda2 40G 21G 17G 56% /
...
:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 982M 0 982M 0% /dev
tmpfs 200M 7.7M 193M 4% /run
/dev/vda2 40G 23G 15G 56% /
...
:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 982M 0 982M 0% /dev
tmpfs 200M 7.7M 193M 4% /run
/dev/vda2 40G 38G 1G 56% / ...
UPDATE:
The error occurs when using dockerfile and context:
php-fpm:
# image: php:7.2-fpm
build:
context: ./
dockerfile: docker/php.docker
Building php-fpm
ERROR: Error processing tar file(exit status 1): write /frontend/web/img/products/8/some_image.jpg: no space left on device
FROM php:7.2-fpm
WORKDIR /var/www
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question