Docker for WindowsではCドライブを共有
エラーメッセージの通りなんですが、Docker for WindowsではCドライブのshareが必要になることがあります。
私はdocker-compose upした時に出ました。
多分ですがvolumes指定があったからでしょう。
コマンドラインオプションでも-vがあれば出ると思います。
>docker-compose up -d
...
ERROR: for apache-php Cannot create container for service apache-php: C: drive is not shared. Please share it in Docker for Windows Settings. ERROR: Encountered errors while bringing up the project.
Please share it in Docker for Windows Settingsなので
タスクトレイのDockerアイコンを右クリック⇒Settings...

サイドメニュー Shared DrivesよりC DriveをSharedにします。

OSのパスワードを聞かれるので入力

ディレクトリ指定したいなぁ。