mkdir: cannot create directory ‘/home/postgres/pgdata/data’: permission denied
I am trying to run a a project with docker-compose and I am getting mkdir: cannot create directory ‘/home/postgres/pgdata/data’: permission denied. This problem only occurs on windows, on macOS the setup works fine. I think it has to do with user permissions on windows for docker. The compose config: volumes: volume_name: name: data postgres: container_name: postgres image: timescale/timescaledb-ha:pg14.7-ts2.10.2-latest ports: - "5433:5432" volumes: - ./data:/home/postgres/pgdata env_file: - ./.envs/.local/.postgres Any idea what I could do to fix this? Thanks in advance, help is much appreci
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.