axeleroy/wakeonlan-cron-docker

By axeleroy

Updated about 1 month ago

A Docker container to wake up a computer on a schedule.

Image
0

10K+

axeleroy/wakeonlan-cron-docker repository overview

wakeonlan-cron-docker

A Docker container to wake up a computer on a schedule.

Docker Hub GitHub last commit License Docker build

Instructions

Vanilla Docker
docker run \
  axeleroy/wakeonlan-cron-docker:latest \
  -e "TZ=Europe/Paris" \
  -e "CRON=20 4 * * *" \
  -e "MAC_ADDRESS=AA:BB:CC:DD:EE:FF" \
  --network="host"
Docker-compose
version: "2.1"
services:
  wake-on-lan:
    image: axeleroy/wakeonlan-cron-docker:latest
    environment:
      - TZ=Europe/Paris
      - CRON=20 4 * * *
      - MAC_ADDRESS=AA:BB:CC:DD:EE:FF
    network_mode: host
Environment variables
VariableMeaningExample
TZTimezoneTZ=Europe/Paris
CRONCron schedule expression (tip: use crontab.guru)CRON=20 4 * * *
MAC_ADDRESSMac address of the computer you want to wake upMAC_ADDRESS=AA:BB:CC:DD:EE:FF
BROADCAST_IPIP address of the subnet to broadcast the magic packet toBROADCAST_IP=192.168.0.255
CRON_LOG_LEVELLog level of crond. Goes from 0 (most verbose) to 8 (default)CRON_LOG_LEVEL=2

Tag summary

Content type

Image

Digest

sha256:c8e6878c3

Size

7.5 MB

Last updated

about 1 month ago

docker pull axeleroy/wakeonlan-cron-docker