Hi,
I’m working with a Xavier board and I want to use deepstream docker on it. But Xavier seems to have only 32G total space. After I install OS and put deepstream image tar file on it, it doesn’t have enough free space for loading image and running docker container. I wonder if I should use a SDCard and run container on it? Or if anyone has a better solution?
I mount /var/lib/docker on it’s own ssd partition.
From lslbk
└─nvme0n1p6 259:15 0 238.4G 0 part /var/lib/docker
Just stick in a nvme ssd, partition it, and format it as ext4 (all of this can be done graphically with gnome-disks or something like that). Then move your files from /var/lib/docker (or erase them) onto the ssd partition, and mount your new partition over /var/lib/docker. My entry in /etc/fstab looks like this:
UUID=123456... /var/lib/docker ext4 errors=remount-ro,noatime 0 0
You can find the UUID of a partition in gnome-disks or by doing lsblk -o NAME,UUID
/var/lib/docker Is where docker stores mostly everything except the configuration, which can be found in /etc/docker.