1 ⨯
rest_memcache_1 is up-to-date
Recreating rest_app_1 ... done
Recreating rest_frontend_1 ... error
ERROR: for rest_frontend_1 Cannot start service frontend: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/home/user/workflow/backend/rest/docker/nginx/default.conf\\\" to rootfs \\\"/mnt/sda1/var/lib/docker/overlay2/db9e1042cf7e351be2a22b761c52103bcf2af838a2035feb28416a30a6d121ad/merged\\\" at \\\"/mnt/sda1/var/lib/docker/overlay2/db9e1042cf7e351be2a22b761c52103bcf2af838a2035feb28416a30a6d121ad/merged/etc/nginx/conf.d/default.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
ERROR: for frontend Cannot start service frontend: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/home/user/workflow/backend/rest/docker/nginx/default.conf\\\" to rootfs \\\"/mnt/sda1/var/lib/docker/overlay2/db9e1042cf7e351be2a22b761c52103bcf2af838a2035feb28416a30a6d121ad/merged\\\" at \\\"/mnt/sda1/var/lib/docker/overlay2/db9e1042cf7e351be2a22b761c52103bcf2af838a2035feb28416a30a6d121ad/merged/etc/nginx/conf.d/default.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
ERROR: Encountered errors while bringing up the project.
┌──(user㉿kaliDevelopment)-[~]
└─$ sudo /usr/bin/docker-compose -f /home/user/workflow/backend/rest/docker-compose.yml up -d 1 ⨯
[sudo] пароль для user:
WARNING: The DOCKER_HOST_IP variable is not set. Defaulting to a blank string.
Creating network "rest_local" with driver "bridge"
Creating rest_memcache_1 ... done
Creating rest_app_1 ... done
Creating rest_frontend_1 ... done
Ну а читать текст ошибки кто будет? Ты пытаешься смонтировать файл по пути, по которому внутри контейнера лежит папка, либо наоборот
Ты прикалываешься? алло, я одну и ту же команду ввел. Одна прошла с ошибкой вторая без
Обсуждают сегодня