fix(aio): use JSON array double quotes in VOLUME instruction (#9099)

The community AIO Dockerfile declared the VOLUME instruction with
single quotes: VOLUME ['/app/data', '/app/logs']. Docker's JSON (exec)
form requires double quotes; with single quotes the line is parsed as
the shell form and the bracket/comma tokens become literal volume
paths ('[/app/data,' and '/app/logs]').

Docker tolerated these non-absolute anonymous volume paths at container
create time until Engine 29.5.0, which now rejects them with
"invalid mount config for type volume: invalid mount path: '[/app/data,'
mount path must be absolute", breaking `docker compose up --force-recreate`
and any container recreation for the AIO community image.

Switching to the valid JSON array form fixes the parsing.
This commit is contained in:
astarte75
2026-05-21 13:24:57 +02:00
committed by GitHub
parent 4ca6d6c7b8
commit 039d582fbb
+1 -1
View File
@@ -59,7 +59,7 @@ RUN mkdir -p /app/logs/access && \
mkdir -p /app/data && \
chmod +x /app/start.sh
VOLUME ['/app/data', '/app/logs']
VOLUME ["/app/data", "/app/logs"]
EXPOSE 80 443