Skip to main content

All Questions

0 votes
1 answer
5k views

How to correctly mount/bind/... a local (host) dir into a docker container

I'm currently using Windows 11 and I try to construct a docker file for my development environment, which can be seen below. For me, the line RUN --mount=type=bind,target=/home/$username/src is ...
i_want_more_edits's user avatar
1 vote
1 answer
4k views

How to access Windows shared network drive from Windows Docker Container

I need to access my network shared drive D: from my Windows container. Using Docker Desktop 2.1.0.5 with Windows containers and Windows 10 Pro 1903. I tried using: docker run --rm -it mydocker/image ...
Aleph's user avatar
  • 11