[docker@lizmap-test docker-lizmap (3.3.0)]$ docker-compose up -d
docker-lizmap_qgiserver_1 is up-to-date
docker-lizmap_lizmap_1 is up-to-date
docker-lizmap_redis_1 is up-to-date
Starting docker-lizmap_nginx_1 ...
ERROR: for docker-lizmap_nginx_1 a bytes-like object is required, not 'str'
ERROR: for nginx a bytes-like object is required, not 'str'
Traceback (most recent call last):
File "site-packages/docker/api/client.py", line 261, in _raise_for_status
File "site-packages/requests/models.py", line 940, in raise_for_status
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http+docker://localhost/v1.21/containers/01cd780f2db55b6704282c92125d897d9e7e2213e358567ec6ed5fb9a9f08cc1/start
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "compose/service.py", line 625, in start_container
File "compose/container.py", line 241, in start
File "site-packages/docker/utils/decorators.py", line 19, in wrapped
File "site-packages/docker/api/container.py", line 1095, in start
File "site-packages/docker/api/client.py", line 263, in _raise_for_status
File "site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
docker.errors.APIError: 400 Client Error: Bad Request ("b'OCI runtime create failed:
container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \\"rootfs_linux.go:58: mounting \\\\\\"/home/docker/docker-lizmap/lizmap/nginx/nginx.conf\\\\\\" to rootfs \\\\\\"/var/lib/docker/overlay2/792f227bd48dac77114426a37bf76e4f2ca474235556adbf3b034ea982da0947/merged\\\\\\" at \\\\\\"/var/lib/docker/overlay2/792f227bd48dac77114426a37bf76e4f2ca474235556adbf3b034ea982da0947/merged/etc/nginx/nginx.conf\\\\\\" caused \\\\\\"not a directory\\\\\\"\\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type'")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "bin/docker-compose", line 6, in <module>
File "compose/cli/main.py", line 72, in main
File "compose/cli/main.py", line 128, in perform_command
File "compose/cli/main.py", line 1107, in up
File "compose/cli/main.py", line 1103, in up
File "compose/project.py", line 570, in up
File "compose/parallel.py", line 112, in parallel_execute
File "compose/parallel.py", line 210, in producer
File "compose/project.py", line 556, in do
File "compose/service.py", line 568, in execute_convergence_plan
File "compose/service.py", line 510, in _execute_convergence_start
File "compose/parallel.py", line 112, in parallel_execute
File "compose/parallel.py", line 210, in producer
File "compose/service.py", line 508, in <lambda>
File "compose/service.py", line 620, in start_container_if_stopped
File "compose/service.py", line 627, in start_container
TypeError: a bytes-like object is required, not 'str'
[28954] Failed to execute script docker-compose
Thanks in advance for your help.