fradelg / docker-mysql-cron-backup

Docker image to backup all your databases periodically
Apache License 2.0
290 stars 111 forks source link

Runs privileged when it shouldn't #117

Open Ethorbit opened 5 months ago

Ethorbit commented 5 months ago

This runs privileged as root user in the container, which poses a security risk for Docker daemon users since root in the container maps to root on the host. Everything this does can and should be done as an unprivileged user.

I addressed this in my fork which also removes the golang wrapper bloat and replaces cron with anacron for persistent backup intervals.