docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/data/nginx/conf.d/default.conf\\\" to rootfs \\\"/var/lib/docker/overlay2/dbfa56036078d899c9dad1841da6d955f00deb58f35738fcdcd2352f7b09a573/merged\\\" at \\\"/var/lib/docker/overlay2/dbfa56036078d899c9dad1841da6d955f00deb58f35738fcdcd2352f7b09a573/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.
uj5u.com熱心網友回復:
沒有找到掛載的目錄吧uj5u.com熱心網友回復:
根據報錯資訊看似乎是掛載路徑不對,你最好是把你運行的docker命令給出來,或者yaml給出來,這樣比較好找問題
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/67969.html
標籤:專題技術討論區
