Open CarterKoopa opened 6 months ago
Now, using a non-root user must be done through the built-in backuptool
(with UID and GID both set to 1100
).
This was a poorly designed choice I made early on when I wasn't familiar with Docker. I will redesign the way non-root users are used, such as allowing users to input UID
and GID
.
For now, you can either use the root user directly or the backuptool
user.
One more request in regards to hardening!
Right now, the container seems unable to schedule the cron task based on the envionrment variable when running as a non-privledged user. When running as a non-root, custom user (by adding
user: UID:GID
in the compose file, I will note I'm not using the included backuptool user), the following error is generated:Could be an error on my part but any input would be appreciated! Thanks!