Count mount my config.yml file #1302
-
I am trying to deploy the following stack in Portainer: --- But I get the following error: ~/dashy/my-conf.yml does exist and I have another Portainer stack that reference a different folder in the same way, so I think the permissions are correct. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I don't begin to understand how this all works but if I change the volumes part as follows (incorrect conf file name on host), the instance starts, It;s obviously not correct but dashy starts up. |
Beta Was this translation helpful? Give feedback.
-
I came right. Permissions on ~/dashy/my-conf.yml were not correct |
Beta Was this translation helpful? Give feedback.
-
That is not correct -v /path/on/host:/path/on/container You do the above thing to access the config from outside what you did you told docker to mount a file that is not existing so it probably skipped that step and now you don't have access to your config file. |
Beta Was this translation helpful? Give feedback.
I came right. Permissions on ~/dashy/my-conf.yml were not correct