Update README.md

This commit is contained in:
Mateusz Kaczanowski 2020-11-08 13:57:15 +01:00 committed by GitHub
parent e7ead28b42
commit 5d24c8bb0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/"