Update README.md
This commit is contained in:
parent
e7ead28b42
commit
5d24c8bb0f
1 changed files with 6 additions and 0 deletions
|
@ -66,11 +66,17 @@ cargo build --release
|
||||||
cargo run
|
cargo run
|
||||||
```
|
```
|
||||||
### Docker
|
### Docker
|
||||||
|
x86 image:
|
||||||
```
|
```
|
||||||
docker pull mkaczanowski/pastebin:latest
|
docker pull mkaczanowski/pastebin:latest
|
||||||
docker run --network host mkaczanowski/pastebin --address localhost --port 8000
|
docker run --network host mkaczanowski/pastebin --address localhost --port 8000
|
||||||
```
|
```
|
||||||
|
|
||||||
|
ARM images:
|
||||||
|
```
|
||||||
|
docker pull mkaczanowski/pastebin:armv7
|
||||||
|
docker pull mkaczanowski/pastebin:armv8
|
||||||
|
```
|
||||||
### Client
|
### Client
|
||||||
```
|
```
|
||||||
alias pastebin="curl -w '\n' -q -L --data-binary @- -o - http://localhost:8000/"
|
alias pastebin="curl -w '\n' -q -L --data-binary @- -o - http://localhost:8000/"
|
||||||
|
|
Loading…
Reference in a new issue