Mounting windows folder to tigergraph container

Just spent the better half of a day trying to figure out the right command to mount a windows folder into my tigergraph docker container so I can transfer data files in.

Could someone please help?

From VS Code Terminal i’m using the following command

docker run --rm -v C:\ProgramData\Docker_mounted_folder:/home/tigergraph/tigergraph/nwis/win_host_folder -p 14022 tigergraph

and getting the following error back…

Unable to find image ‘tigergraph:latest’ locally
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: pull access denied for tigergraph, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied.
See ‘C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help’.

Thanks and Happy New Year!

Hi William,

Please try to use “docker.tigergraph.com/tigergraph-dev” instead of “tigergraph” as the image name.

Thanks,
Chengbiao

I tried it with the following but it just hung in terminal

Any idea on what I need to correct here? Thanks

docker run --rm -v C:\ProgramData\Docker_mounted_folder:/home/tigergraph/tigergraph/nwis/win_host_folder docker.tigergraph.com/tigergraph-dev -p 14022

first, follow https://rominirani.com/docker-on-windows-mounting-host-directories-d96f3f056a2c

if not succeed, try some troubleshooting steps on docker forum , such as creat a new window account tc. https://forums.docker.com/t/cannot-share-drive-in-windows-10/28798/8

Please try to add “-d” option to “docker run”. After the container is up, use ssh to connect the container.