Closed
Description
I am trying to run this box on a Mac OS 10.10 system with boot2docker and Docker 1.3 running. Here is the output that I get:
$ fig run db
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... initdb: could not create directory "/var/lib/postgresql/data/global": Permission denied
initdb: removing contents of data directory "/var/lib/postgresql/data"
I am having it use an external volume so that the database can persist between each run. This is done through fig:
db:
image: postgres:9.3
ports:
- "5432"
volumes:
- "../pg_data:/var/lib/postgresql/data"
I suspect that this is related to #26 . I tried clearing ~/.boot2docker and removing the VM without success.
Let me know if there is something else you need.
Metadata
Metadata
Assignees
Labels
No labels