W
W
way_t2018-04-17 18:06:38
linux
way_t, 2018-04-17 18:06:38

Docker. Why is a postgres error being caught?

Container won't deploy, catching error from postgres: initdb: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
Same situation happened on Ubuntu 16/17/18
Current: Deepin 15.5 (debian)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
key don, 2018-04-17
@keydon2

Apparently Roskompozor also blocked Google translator. Apparently there are no rights to the directory.
Find out where this directory is (in the container volume or being forwarded from the host) and why there are no rights to it.

S
Stanislav Bodrov, 2018-04-19
@jenki

The directory /var/lib/postgresql/data is not being dumped through volumes?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question