mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 02:48:59 +00:00
docker: Remove sysctl from README (#7670)
This commit is contained in:
parent
4ace451013
commit
086508f51a
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user