작성
·
453
0
안녕하세요
docker-compose up
명령어를 입력했을 때 에러가 나왔습니다
에러 내용
joy@gimjonghuiui-MacBookAir CF_SNS % docker-compose up
Attaching to cf_sns-postgres-1
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/host_mnt/Users/joy/Documents/NestJs/CF_SNS/postgres-data" to rootfs at "/var/lib/postgresql/data": mount /host_mnt/Users/joy/Documents/NestJs/CF_SNS/postgres-data:/var/lib/postgresql/data (via /proc/self/fd/9), flags: 0x5000: 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
위에 내용이 뜨면서 실행이 안되는것 같습니다
postgres-data 관련 파일도 새롭게 만들어지지 않았습니다
어떻게 해결하면 좋을까요..?
답변 2
1
0