Add sudo back to docker command

This commit is contained in:
Shizun Ge 2023-05-13 00:53:37 -07:00 committed by GitHub
parent 879b9be298
commit 35d96545fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ go build .
Alternatively, you can use the [docker image](https://hub.docker.com/r/shizunge/endlessh-go):
```
docker run -d -p 2222:2222 shizunge/endlessh-go -logtostderr -v=1
sudo docker run -d -p 2222:2222 shizunge/endlessh-go -logtostderr -v=1
```
It listens to port `2222` by default.