-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
questionUsability question, not directly related to an error with the imageUsability question, not directly related to an error with the image
Description
On Windows 10 is always failed while docker-compose up:
version: "3"
services:
db:
image: postgres:11.2
environment:
- POSTGRES_USER=test
- POSTGRES_PASSWORD=test
- POSTGRES_DB=test
volumes:
- ./postgres-data:/var/lib/postgresql/data
ports:
- "5433:5432"
and here is logs
db_1 | running bootstrap script ... 2019-03-12 15:05:29.271 UTC [77] FATAL: data directory "/var/lib/postgresql/data" has wrong ownership
db_1 | 2019-03-12 15:05:29.271 UTC [77] HINT: The server must be started by the user that owns the data directory.
db_1 | child process exited with exit code 1
db_1 | initdb: removing contents of data directory "/var/lib/postgresql/data"
noorand_db_1 exited with code 1
matthewfieger, liketurbo, lorendini, agentili, Jeff-Tian and 6 more
Metadata
Metadata
Assignees
Labels
questionUsability question, not directly related to an error with the imageUsability question, not directly related to an error with the image