Marc
CCoder.com
•Created by Marc on 2/5/2024 in #help
Docker in Docker docker-compose volume
Hi, I have a Docker in Docker setup with a git repo inside that has a docker-compose.yml. One of the containers has a volume that maps the current folder to a folder inside the container. The issue is that using a Docker in Docker setup, the current folder "." is mapped to the host (which not exists), not the current workspace container.
volumes:
- '.:/var/www/html'
How I can map the current folder (as it would work in a local/host setup)?
Thanks.
14 replies