A few more documentation updates.

This commit is contained in:
Dan Helfman 2022-06-12 18:32:15 -07:00
parent 38f367b47a
commit ec15e96dbf
2 changed files with 8 additions and 5 deletions

View File

@ -82,9 +82,9 @@ Alternatively, on Linux, you can try using the IP `172.17.0.1`.
### Home Assistant
If you happen to be using Home Assistant, here's how you might request
wake-on-lan of a remote server via wake-on-lan-service. This example is of an
automation action in your Home Assistant configuration:
If you happen to be using Home Assistant in Docker, here's how you might
request wake-on-lan of a remote server via wake-on-lan-service. This example
is of an automation action in your Home Assistant configuration:
```
automation:
@ -94,9 +94,12 @@ automation:
- service: shell_command.wake_my_server
shell_command:
wake_my_server: "echo 00:00:0a:bb:28:fc | nc -N host.docker.internal 18888"
wake_my_server: "echo 00:00:0a:bb:28:fc | nc host.docker.internal 18888"
```
(Home Assistant's Docker image includes netcat from busybox instead of OpenBSD
netcat, so omit the `-N` flag.)
## Security

View File

@ -8,5 +8,5 @@ sudo docker buildx build -t $IMAGE:amd64 .
sudo docker push $IMAGE:amd64
sudo docker buildx build --platform linux/arm/v7 --build-arg IMAGE_PREFIX="arm32v7/" -t $IMAGE:armv7 .
sudo docker push $IMAGE:armv7
sudo docker manifest create $IMAGE:latest $IMAGE:amd64 $IMAGE:armv7
sudo docker manifest create --amend $IMAGE:latest $IMAGE:amd64 $IMAGE:armv7
sudo docker manifest push $IMAGE:latest