Expected behavior
Using the following configuration in docker-compose.yaml will make textfile.txt on host machine show up in the container at /tmp/textfile.txt
volumes:
- ./src/textfile.txt:/tmp/textfile.txt
Actual behavior
Container has an empty directory at /tmp/textfile.txt