Docker Community Forums

Share and learn in the Docker community.

/ mounted on tmpfs


(Ducatel David) #1

Hi all,

I have a problem with disk space on boot2docker.

In fact, I cannot add somes big files inside it because / is mounted on my RAM memory (tmpfs).
Is it possible to mount automatically my /dev/sda1 (20Go by default) on / instead of /mnt/sda1 ?

So the view of my problem:

docker@boot2docker:~$ df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                     3.5G    106.4M      3.4G   3% / # Too small for my
tmpfs                     1.9G         0      1.9G   0% /dev/shm
/dev/sda1                18.2G     59.9M     17.2G   0% /mnt/sda1  # should be mounted on / 
cgroup                    1.9G         0      1.9G   0% /sys/fs/cgroup
none                    476.9G    257.7G    219.3G  54% /c/Users
/dev/sda1                18.2G     59.9M     17.2G   0% /mnt/sda1/var/lib/docker/aufs

Thanks for your help.