Quantcast
Channel: TimescaleDB and PostgreSQL - Timescale Community Forum
Viewing all articles
Browse latest Browse all 291

Cannot launch docker container

$
0
0

I have a Docker container (based on timescale/timescaledb-ha:pg14-latest) that I start like this:

docker run -d --name timescaledb -p 127.0.0.1:5432:5432 \
-v /Users/<me>/timescaledb-data:/home/postgres/pgdata/data \
-e POSTGRES_PASSWORD=postgres timescale/timescaledb-ha:pg14-latest

Today, on trying to run this script, Docker complains:

2023-11-05 19:43:48 2023-11-05 19:43:48.439 UTC [1] FATAL:  data directory "/home/postgres/pgdata/data" has wrong ownership
2023-11-05 19:43:48 2023-11-05 19:43:48.439 UTC [1] HINT:  The server must be started by the user that owns the data directory.

I have changed nothing since I successfully launched it yesterday. I have now of course tried to reset the permissions on that folder.

This is on macOS 14.2 with Docker Desktop 4.25.0 (126437)

I am not even sure what the error indicates. Is it referring to the PostgreSQL server?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 291

Trending Articles