• 0 Posts
  • 9 Comments
Joined 2 years ago
cake
Cake day: July 2nd, 2023

help-circle


  • You’re running into that permission error because of how Docker handles file permissions between the host and the container. It’s by design for security reasons. The user inside the container likely doesn’t have access to the mounted directory unless the UID and GID match what’s on the host. You can work around it, but it’s locked down intentionally.

    Also, what’s the use case here? What do you need file sharing via Samba in a Docker container for? If it’s just about moving files in and out, docker cp or docker exec -it container /bin/bash might be easier.




  • So, this question is very difficult to answer. I don’t want you to be discouraged though.

    I can’t answer you because I don’t know your goals. Since we’re in /c/selfhosted, I assume you’re experimenting with some self-hosted setups, which is awesome! But what exactly are you hoping to do with OpenWRT? And what’s the plan for the switch? Are you aiming for better network control, VLANs, firewall rules, or are you just looking to have network area storage?

    If you can share more about what you’re trying to accomplish, folks here will be much better equipped to help you figure out your next steps."