Всем привет.
Создаю docker контейнер для Laravel 5.5.18 приложения
с настройками web/Dockerfile.yml :


FROM php:7.1-apache

RUN apt-get update -y && apt-get install -y sendmail libpng-dev libtidy-dev libtidy5 libtidy-dev tidy

RUN docker-php-ext-install \
pdo_mysql \
gd \
tidy \
&& a2enmod \
rewrite \
docker-php-ext-enable ext-tidy



$ docker-compose up -d 
lprods_products_catalog is up-to-date
lprods_docker_adminer_1 is up-to-date
lprods_docker_db_1 is up-to-date
Starting lprods_docker_composer_1 ... done


И нахожу ошибки в логе композера:
$ docker logs --tail=20  lprods_docker_composer_1
- /usr/local/etc/php/conf.d/date_timezone.ini
- /usr/local/etc/php/conf.d/docker-php-ext-sodium.ini
- /usr/local/etc/php/conf.d/docker-php-ext-zip.ini
- /usr/local/etc/php/conf.d/memory-limit.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for stolz/laravel-html-tidy 0.1.1 -> satisfiable by stolz/laravel-html-tidy[0.1.1].
- stolz/laravel-html-tidy 0.1.1 requires ext-tidy * -> the requested PHP extension tidy is missing from your system.

To enable extensions, verify that they are enabled in your .ini files:
-
- /usr/local/etc/php/conf.d/date_timezone.ini
- /usr/local/etc/php/conf.d/docker-php-ext-sodium.ini
- /usr/local/etc/php/conf.d/docker-php-ext-zip.ini
- /usr/local/etc/php/conf.d/memory-limit.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.


Я прописал tidy php-tidy с команде RUN
Это не вызвало ошибку что таких пакетов нет но и ошибку в логах не убрало .
А как правильно?

А как правильно чистить логи docker-а ? У меня есть неколторые сомнения вывожу ли я логи последнего запуска?

Спасибо!