Commit Graph
2 Commits
Author SHA1 Message Date
Julia 806ad4898c Update Dockerfile (#618)
Running programs as root that don't require it is a big security risk. Docker is only containerization and not virtualization.
Instead of using the user "nobody" a custom user may be created, but as shadowsocks-rust only uses networking and only reads the config file I see it as unnecessary.
If the server is intended to bind on a privileged port (<1024) Docker's port mapping may be used or a program such as nftables or setcap may be used.
2021-09-05 22:53:34 +08:00
kallydev e3e5acb266 Add multi-architecture Docker support 2021-07-21 22:49:53 +08:00