If you set the above in docker-compose.yml, folder C appears directly under folder A on the host side, but folder C is empty (there is a file in folder C on the container side).
Why is host side folder C empty?
services:
app:
images —php
volumes:
- Folder A: Folder B
- volumeC —Folder C
volumes:
volumeC:
On the other hand, self-created volumes do not bind mount, so they are used to perpetuate data in an area called Docker Volume.In this case, there is no link to the local file system, so the file is not stored in folder C, nor is there a link.
602 GDB gets version error when attempting to debug with the Presense SDK (IDE)
902 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
570 Who developed the "avformat-59.dll" that comes with FFmpeg?
614 Uncaught (inpromise) Error on Electron: An object could not be cloned
569 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.