docker: Remove sysctl from README (#7670)

This commit is contained in:
bt90 2021-05-12 22:16:27 +02:00 committed by Jakob Borg
parent 4ace451013
commit 086508f51a

View File

@ -16,8 +16,7 @@ the name of the Syncthing instance can be optionally defined by using
**Docker cli**
```
$ docker pull syncthing/syncthing
$ docker run --sysctl net.core.rmem_max=2097152 \
-p 8384:8384 -p 22000:22000/tcp -p 22000:22000/udp \
$ docker run -p 8384:8384 -p 22000:22000/tcp -p 22000:22000/udp \
-v /wherever/st-sync:/var/syncthing \
--hostname=my-syncthing \
syncthing/syncthing:latest
@ -41,8 +40,6 @@ services:
- 8384:8384
- 22000:22000/tcp
- 22000:22000/udp
sysctls:
- net.core.rmem_max=2097152
restart: unless-stopped
```