Share /files inside container
Working on enhancing running Daedalus in a container, here are recent posts:
- Container /files save fix — November 24, 2024
- Container session save fix — November 24, 2024
- Remove network menu entries in container — November 24, 2024
...etc.
The Daedalus container is configured to share /files/shared with the main filesystem. However, I have changed that to /files
It is a security measure to restrict sharing to /files/shared; however, security measures restrict usage. We need to find a practical compromise. I have already compromissed by sharing the clipboard. Yes, potentially a security weakness, but extremely useful to be able to share the clipboard.
The primary reason for running Daedalus in a container is to have access to the huge package repository, not for security reasons. So, we can ease up on the security.
File /mnt/wkg/containers/daedalus/configuration has the security settings. I have changed this from "files/shared" to "files":
EC_ACCESS_FOLDER_PATH='/files'
That's it, all of /files is now shared inside the Daedalus container. There are some changes needed to support this, see latest github commits:
https://github.com/bkauler/woofq/commits/1f8d9e1ca5275037488bbe0459d3d72dd469259a/
Looking good!
Tags: easy