Thursday, November 21, 2019 4:56:54 AM
  • Posted: Tuesday, November 5, 2019 11:42 AM
  • 2
I  run dev version of grandnode in Docker and would to share App_Data folder between container and docker host.
$ docker run -d -p 8080:80 --name grandnode -v /app/App_Data:/app/App_Data grandnode/develop

Docker cannot start app because App_Data folder is empty and appsettings.json not found.

I see in Dockerfile VOLUME declaration and it is includes  /app/App_Data

How i can share this folder?

p.s. I know about CP command and can copy files between container and host.

Thank you.
0
  • Posted: Tuesday, November 5, 2019 1:24 PM
  • Moderator
  • 368
Hey Sergey,

Sorry, but I'm not a Docker specialist, so I'm not able to help you. Maybe there is someone smarter in Docker management.

0
  • Posted: Tuesday, November 5, 2019 2:24 PM
  • 2
I think we cannot get access to /app/App_Data , /app/wwwroot , /app/Themes and /app/Plugins from docker host and have to use CP command
0