Skip to content

Не запускаются контейнеры #13

@vladislavzl

Description

@vladislavzl

Не запускаются контейнеры с nginx, php, sphinx с ошибками:

$ docker compose logs php
dev_php  | [25-Dec-2025 14:28:21] ERROR: failed to open configuration file '/usr/local/etc/php-fpm.conf': Permission denied (13)
dev_php  | [25-Dec-2025 14:28:21] ERROR: failed to load configuration file '/usr/local/etc/php-fpm.conf'

$ docker compose logs sphinx
dev_sphinx  | Sphinx 2.2.11-id64-release (95ae9a6)
dev_sphinx  | Copyright (c) 2001-2016, Andrew Aksyonoff
dev_sphinx  | Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
dev_sphinx  |
dev_sphinx  | [Thu Dec 25 14:28:21.195 2025] [8] using config file '/opt/sphinx/conf/sphinx.conf'...
dev_sphinx  | [Thu Dec 25 14:28:21.195 2025] [8] FATAL: failed to parse config file '/opt/sphinx/conf/sphinx.conf'

$ docker compose logs nginx
dev_nginx  | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
dev_nginx  | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
dev_nginx  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
dev_nginx  | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist
dev_nginx  | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
dev_nginx  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
dev_nginx  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
dev_nginx  | /docker-entrypoint.sh: Configuration complete; ready for start up
dev_nginx  | 2025/12/25 14:28:21 [emerg] 7#7: open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
dev_nginx  | nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (13: Permission denied

Воспроизведение:

$ git clone https://github.com/bitrix-tools/env-docker.git
$ cd env-docker
$ docker compose up -d

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions