mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-03 07:12:27 +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 cli**
|
||||||
```
|
```
|
||||||
$ docker pull syncthing/syncthing
|
$ docker pull syncthing/syncthing
|
||||||
$ docker run --sysctl net.core.rmem_max=2097152 \
|
$ docker run -p 8384:8384 -p 22000:22000/tcp -p 22000:22000/udp \
|
||||||
-p 8384:8384 -p 22000:22000/tcp -p 22000:22000/udp \
|
|
||||||
-v /wherever/st-sync:/var/syncthing \
|
-v /wherever/st-sync:/var/syncthing \
|
||||||
--hostname=my-syncthing \
|
--hostname=my-syncthing \
|
||||||
syncthing/syncthing:latest
|
syncthing/syncthing:latest
|
||||||
@ -41,8 +40,6 @@ services:
|
|||||||
- 8384:8384
|
- 8384:8384
|
||||||
- 22000:22000/tcp
|
- 22000:22000/tcp
|
||||||
- 22000:22000/udp
|
- 22000:22000/udp
|
||||||
sysctls:
|
|
||||||
- net.core.rmem_max=2097152
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user