Docker Community Forums

Share and learn in the Docker community.

Docker for windows

build
docker

(Vmnadig) #1

Hi,
I am looking toaccess some config files in the windows folder and have downloaded the docker for windows edition of docker rather than the toolbox. I am looking to run the following command as part of my docker file
ADD c:\code/30-output.conf /etc/somefolder/conf.d/30-output.conf

The container is a linux container

However when i run the docker build command i get the error no such file or directory although i have the file in that directory.I have also enabled the sharing of my C: as part of the settings in docker for windows.
Am i missing something?I am a newbie to docker so some help would be appreciated.