Configuring the Docker storage volume
Contributors
-
PDF of this doc site
-
Install and upgrade software
-
Install and maintain hardware
-
SG5700 storage appliances
-
SG5600 storage appliances
-
-
Configure and manage
-
Administer StorageGRID
-
-
Use StorageGRID
-
Monitor and troubleshoot
-
Monitor a StorageGRID system
-
-
![](/us-en/storagegrid-115/images/pdf-zip.png)
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
Before installing Docker, you might need to format the Docker storage volume and mount it on /var/lib/docker
.
About this task
You can skip these steps if you plan to use local storage for the Docker storage volume and have sufficient space available on the host partition containing /var/lib
.
Steps
-
Create a file system on the Docker storage volume:
sudo mkfs.ext4 docker-storage-volume-device
-
Mount the Docker storage volume:
sudo mkdir -p /var/lib/docker sudo mount docker-storage-volume-device /var/lib/docker
-
Add an entry for docker-storage-volume-device to /etc/fstab.
This step ensures that the storage volume will remount automatically after host reboots.