Run like this:
docker run --name getgrav
--network=web
--volume /your/local/getgrav:/var/www/html
--detach
--restart=unless-stopped
--log-opt max-size=100m
--publish 80:80
getgrav:amd64-latest
If you have multiple sites and are using nginx as a reverse proxy, publish the port like this and have nginx call the custom port.
--publish 10.0.0.1:8091:80 \
Content type
Image
Digest
sha256:ad532cc9d…
Size
234 MB
Last updated
11 months ago
docker pull tighek/getgrav:php8.2-amd64-06NOV2025