Ответы пользователя по тегу Docker
  • Как получить доступ к vpn из контейнера?

    svisch
    @svisch Автор вопроса
    Оказалось доступ был все время. Неправильно просто строил запрос. Вопрос закрыт.
    Ответ написан
    Комментировать
  • Почему APP не подключается к контейнеру с Postgres?

    svisch
    @svisch
    пробовали по ip к постгресу подключаться? У меня обычно что-то типа 172.17.0.1 адрес бд. Надо в интерфейсах смотреть.
    Ответ написан
  • Почему ошибка при обработке скрипта при переносе проекта из одного контейнера в другой?

    svisch
    @svisch Автор вопроса
    Дело оказалось в версии php. Понизил с 7.4 до 7.2 и все заработало. Видимо xdebug и docker тут не при чем оказались.
    Ответ написан
    Комментировать
  • Почему возникает ошибка php при docker-compose build?

    svisch
    @svisch Автор вопроса
    Решил следующим образом:
    Из файла Dockerfile удалил следующие строки. В консоли именно на этот пакет ругался. Не знаю за что он отвечает, но без него все завелось нормально
    # Install composer plugins
    RUN composer global require --optimize-autoloader \
            "hirak/prestissimo:${VERSION_PRESTISSIMO_PLUGIN}" && \
        composer global dumpautoload --optimize && \
        composer clear-cache
    Ответ написан
    Комментировать
  • Почему docker compose nginx не запускается?

    svisch
    @svisch Автор вопроса
    часть вывода:
    php_1       | [21-Apr-2020 17:10:43] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:43] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:43] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_xmlrpc.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_xmlrpc.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:43] ERROR: failed to create new listening socket: socket(): Address family not supported by protocol (97)
    php_1       | [21-Apr-2020 17:10:43] ERROR: failed to create new listening socket: socket(): Address family not supported by protocol (97)
    php_1       | [21-Apr-2020 17:10:43] ERROR: FPM initialization failed
    php_1       | [21-Apr-2020 17:10:43] ERROR: FPM initialization failed
    php_1       | [21-Apr-2020 17:10:44] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:44] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:44] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_xmlrpc.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_xmlrpc.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:44] ERROR: failed to create new listening socket: socket(): Address family not supported by protocol (97)
    php_1       | [21-Apr-2020 17:10:44] ERROR: failed to create new listening socket: socket(): Address family not supported by protocol (97)
    php_1       | [21-Apr-2020 17:10:44] ERROR: FPM initialization failed
    php_1       | [21-Apr-2020 17:10:44] ERROR: FPM initialization failed
    php_1       | [21-Apr-2020 17:10:45] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:45] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:45] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_xmlrpc.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_xmlrpc.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:45] ERROR: failed to create new listening socket: socket(): Address family not supported by protocol (97)
    php_1       | [21-Apr-2020 17:10:45] ERROR: failed to create new listening socket: socket(): Address family not supported by protocol (97)
    php_1       | [21-Apr-2020 17:10:45] ERROR: FPM initialization failed
    php_1       | [21-Apr-2020 17:10:45] ERROR: FPM initialization failed
    php_1       | [21-Apr-2020 17:10:47] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:47] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:47] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_xmlrpc.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_xmlrpc.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:47] ERROR: failed to create new listening socket: socket(): Address family not supported by protocol (97)
    php_1       | [21-Apr-2020 17:10:47] ERROR: failed to create new listening socket: socket(): Address family not supported by protocol (97)
    php_1       | [21-Apr-2020 17:10:47] ERROR: FPM initialization failed
    php_1       | [21-Apr-2020 17:10:47] ERROR: FPM initialization failed
    php_1       | [21-Apr-2020 17:10:48] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:48] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:48] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_xmlrpc.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_xmlrpc.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:48] ERROR: failed to create new listening socket: socket(): Address family not supported by protocol (97)
    php_1       | [21-Apr-2020 17:10:48] ERROR: failed to create new listening socket: socket(): Address family not supported by protocol (97)
    php_1       | [21-Apr-2020 17:10:48] ERROR: FPM initialization failed
    php_1       | [21-Apr-2020 17:10:48] ERROR: FPM initialization failed
    php_1       | [21-Apr-2020 17:10:51] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:51] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:51] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_xmlrpc.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_xmlrpc.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    php_1       | [21-Apr-2020 17:10:51] ERROR: failed to create new listening socket: socket(): Address family not supported by protocol (97)
    php_1       | [21-Apr-2020 17:10:51] ERROR: failed to create new listening socket: socket(): Address family not supported by protocol (97)
    php_1       | [21-Apr-2020 17:10:51] ERROR: FPM initialization failed
    php_1       | [21-Apr-2020 17:10:51] ERROR: FPM initialization failed
    ...
    Ответ написан