Skip to content

Commit cef79ff

Browse files
committed
fix(aio): use JSON array double quotes in VOLUME instruction
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.
1 parent 50a7b47 commit cef79ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deployments/aio/community/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ RUN mkdir -p /app/logs/access && \
5959
mkdir -p /app/data && \
6060
chmod +x /app/start.sh
6161

62-
VOLUME ['/app/data', '/app/logs']
62+
VOLUME ["/app/data", "/app/logs"]
6363

6464
EXPOSE 80 443
6565

0 commit comments

Comments
 (0)