Add sudo back to docker command
This commit is contained in:
parent
879b9be298
commit
35d96545fb
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ go build .
|
||||||
Alternatively, you can use the [docker image](https://hub.docker.com/r/shizunge/endlessh-go):
|
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.
|
It listens to port `2222` by default.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue