Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

Disk space available within a docker image is less than the space available in the VM #1207

Open
vasantivmahajan opened this issue Oct 17, 2016 · 1 comment
Labels
question Usability question, not directly related to an error with Boot2Docker

Comments

@vasantivmahajan
Copy link

I am running a docker image on a windows system. The Virtual Machine on which it is running has 244 GB of memory allocated

image

However, on checking the disk space in the docker container it shows only 19GB available

image

Why is the 244GB memory not available within the container?

Any help is appreciated!

@yosifkit
Copy link
Contributor

Does it show the same limit when doing the df in docker-machine ssh default? It could be just a limitation if you are using devicemapper as the storage driver.

If you resized the default disk with VirtualBox, then you'd also need to go in the Linux VM and use something like a gparted live iso to go in and resize the partition and filesystem. If you have nothing important on the VM you could just delete it with docker-machine rm default and then docker-machine create with your desired value in --virtualbox-disk-size.

@wglambert wglambert added the question Usability question, not directly related to an error with Boot2Docker label Jul 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Usability question, not directly related to an error with Boot2Docker
Projects
None yet
Development

No branches or pull requests

3 participants