Update README.md

Prefer to use `docker save -o` to set the output file. I'm currently on a Windows machine and with Powershell the command results in a corrupt file (i.e. 16M large, and not an archive).

Besides that, it works like a charm. Cheers!
This commit is contained in:
Xander 2022-09-08 14:50:40 +02:00 committed by GitHub
parent ce3283d68e
commit 49f09ef5f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ Columns: BRIDGE, VLAN-IDS, CURRENT-TAGGED, CURRENT-UNTAGGED
## Build & pack container
```
docker buildx build --no-cache --platform linux/arm/v6 -t mdns .
docker save mdns > mdns.tar
docker save mdns -o mdns.tar
8.8M mdns.tar # size after pack
```
@ -79,4 +79,4 @@ log print where topics~"container"
jul/01 21:49:35 container,info,debug + exec /bin/mdns-repeater -f eth0.20 eth0.100
jul/01 21:49:35 container,info,debug mdns-repeater: dev eth0.20 addr 10.0.20.27 mask 255.255.255.0 net 10.0.20.0
jul/01 21:49:35 container,info,debug mdns-repeater: dev eth0.100 addr 10.0.100.244 mask 255.255.255.0 net 10.0.100.0
```
```