mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-17 12:51:33 -05:00
Note in README.md on required capability for mount
This commit is contained in:
parent
cbe09b5863
commit
06a7f85d0f
1 changed files with 2 additions and 0 deletions
|
@ -164,6 +164,8 @@ bindmount /data/common /home/peter/common
|
|||
bindmount /data/docs /home/peter/docs --read-only
|
||||
```
|
||||
|
||||
**NOTE:** Using `mount` requires that your container runs with the `CAP_SYS_ADMIN` capability turned on. [See this answer for more information](https://github.com/atmoz/sftp/issues/60#issuecomment-332909232).
|
||||
|
||||
# What's the difference between Debian and Alpine?
|
||||
|
||||
The biggest differences are in size and OpenSSH version. [Alpine](https://hub.docker.com/_/alpine/) is 10 times smaller than [Debian](https://hub.docker.com/_/debian/). OpenSSH version can also differ, as it's two different teams maintaining the packages. Debian is generally considered more stable and only bugfixes and security fixes are added after each Debian release (about 2 years). Alpine has a faster release cycle (about 6 months) and therefore newer versions of OpenSSH. As I'm writing this, Debian has version 7.4 while Alpine has version 7.5. Recommended reading: [Comparing Debian vs Alpine for container & Docker apps](https://www.turnkeylinux.org/blog/alpine-vs-debian)
|
||||
|
|
Loading…
Reference in a new issue