No space left on device

Hi folks,
I'm using elasticsearch docker image but unable to run it on my Mac. It used to be fine.

$ docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node"
Exception in thread "main" java.nio.file.FileSystemException: /tmp/elasticsearch-9704398455498630996: No space left on device
at java.base/sun.nio.fs.UnixException.translateToIOException(
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(
at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(
at java.base/java.nio.file.Files.createDirectory(
at java.base/java.nio.file.TempFileHelper.create(
at java.base/java.nio.file.TempFileHelper.createTempDirectory(
at java.base/java.nio.file.Files.createTempDirectory(

I do see that I have space on my disk. Can someone please help?

I solved the problem by cleaning up dangling volumes. I referred to this thread on stackoverflow:,var%2Flib%2Fdocker).&text=If%20you%20edit%20%2Fetc%2Fdefault,the%20change%20to%20take%20effect.

Good to know...I was also going to suggest checking the resources settings

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.