2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

docker compose up -d した時に/host_mntがパスの前についてエラーが出る

Posted at

環境

macOS Ventura version 13.2
Docker Desktop 4.16.2

トラブル

Githubでcloneしてコンテナを立ち上げようとしたらエラーが起こった。

docker compose up -d                                                                                                             ✘ 1 
[+] Running 0/1
 ⠋ Container e-ten-db  Creating                                                                                                                  0.1s
Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /host_mnt/Users/fuuma/Dev/sisukai/e-ten/docker/db/init.sql

パスの前に/host_mntというパスがある...
もちろん自分の環境にはない

解決策

Screenshot 2023-12-07 16.21.38.png
gRPC FUSE -> osxfs (Legacy)にしてApply & restart
再起度を待ち、その後 docker compose up -d すると動くようになった

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?