entrypoint should not do that, or should it? if a file is there it should skip
Initialize data volumes ....
tar: ./log/postgresql/postgresql-12-main.log: Cannot open: File exists
tar: ./lib/postgresql/12/main/PG_VERSION: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/112: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/113: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/1247: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/1247_fsm: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/1247_vm: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/1249: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/1249_fsm: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/1249_vm: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/1255: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/1255_fsm: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/1255_vm: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/1259: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/1259_fsm: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/1259_vm: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/13241: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/13241_fsm: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/13241_vm: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/13243: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/13245: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/13246: Cannot open: File exists
tar: ./lib/postgresql/12/main/base/1/13246_fsm: Cannot open: File exists
Edited by Hans Freitag