2

I already using Postgres DB in my development and at the last time when I'm push my Spring Micro-services the Postgres DB is not starting, following is the docker output from kitematic

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".
2017-10-17T08:37:47.562145630Z 
Data page checksums are disabled.
2017-10-17T08:37:47.562162938Z 
fixing permissions on existing directory /var/lib/postgresql/data ... ok
initdb: could not create directory "/var/lib/postgresql/data/pg_xlog": No space left on device
initdb: removing contents of data directory "/var/lib/postgresql/data"

Any one have a idea on this? I couldn't find a solution

1
  • 1
    No space left on device is hint that your space is over... extentd the disk?.. Commented Oct 17, 2017 at 9:00

1 Answer 1

6

Hi if you have good amount of space in your machine ,then this problem is because of dangling images and dangling volume remove those using docker volume rm $(docker volume ls -f dangling=true -q) or docker volume prune ,for images docker rmi $(docker images -f dangling=true -q)

you can also do docker system prune to clean the docker completely

if you still face this problem the only way to do is reset the docker complete just like a new one

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.