# No space left on device

**URL:** <https://discuss.elastic.co/t/no-space-left-on-device/248400>\
**Category:** Elasticsearch\
**Created:** [September 12, 2020, 4:33am UTC](https://discuss.elastic.co/t/no-space-left-on-device/248400 "2020-09-12T04:33:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sarang\_Dharmapurikar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sarang_dharmapurikar/32/67846_2.png) [@Sarang\_Dharmapurikar](https://discuss.elastic.co/u/Sarang_Dharmapurikar)\
**Post date:** [September 12, 2020, 4:33am UTC](https://discuss.elastic.co/t/no-space-left-on-device/248400/1 "2020-09-12T04:33:40Z")

</div>

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" [docker.elastic.co/elasticsearch/elasticsearch:7.9.1](http://docker.elastic.co/elasticsearch/elasticsearch:7.9.1)  
Exception in thread "main" java.nio.file.FileSystemException: /tmp/elasticsearch-9704398455498630996: No space left on device  
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:100)  
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)  
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)  
at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:389)  
at java.base/java.nio.file.Files.createDirectory(Files.java:694)  
at java.base/java.nio.file.TempFileHelper.create(TempFileHelper.java:135)  
at java.base/java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:172)  
at java.base/java.nio.file.Files.createTempDirectory(Files.java:1011)  
at org.elasticsearch.tools.launchers.Launchers.createTempDirectory(Launchers.java:66)  
at org.elasticsearch.tools.launchers.TempDirectory.main(TempDirectory.java:54)

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

 ![Screen Shot 2020-09-11 at 9.32.51 PM](https://us1.discourse-cdn.com/elastic/original/3X/5/5/55d71542db3626094581ebd4161745592785aed9.png)

---

<div class="post-metadata">

**Author:** ![Sarang\_Dharmapurikar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sarang_dharmapurikar/32/67846_2.png) [@Sarang\_Dharmapurikar](https://discuss.elastic.co/u/Sarang_Dharmapurikar)\
**Post date:** [September 12, 2020, 4:49am UTC](https://discuss.elastic.co/t/no-space-left-on-device/248400/2 "2020-09-12T04:49:15Z")

</div>

I solved the problem by cleaning up dangling volumes. I referred to this thread on stackoverflow:

[https://stackoverflow.com/questions/30604846/docker-error-no-space-left-on-device#:~:text=Check%20that%20you%20have%20free,var%2Flib%2Fdocker](https://stackoverflow.com/questions/30604846/docker-error-no-space-left-on-device#:~:text=Check%20that%20you%20have%20free,var%2Flib%2Fdocker)).&text=If%20you%20edit%20%2Fetc%2Fdefault,the%20change%20to%20take%20effect.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 12, 2020, 5:01am UTC](https://discuss.elastic.co/t/no-space-left-on-device/248400/3 "2020-09-12T05:01:54Z")

</div>

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

> **[Docker Desktop for Mac user manual](https://docs.docker.com/docker-for-mac/)**
>
> Welcome to Docker Desktop! The Docker Desktop for Mac user manual provides information on how to configure and manage your Docker Desktop settings. For information about Docker Desktop download, system...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 10, 2020, 5:02am UTC](https://discuss.elastic.co/t/no-space-left-on-device/248400/4 "2020-10-10T05:02:14Z")

</div>

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