Add_workflow_for_techpubs |
---|
AUTH1 | UserResourceIdentifier{userKey=8a00a0c86ca23f8a016cd6ed6fe90013, userName='null'} |
---|
REV5 | UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d0003, userName='null'} |
---|
REV6 | UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d0003, userName='null'} |
---|
REV3 | UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d0003, userName='null'} |
---|
REV1 | UserResourceIdentifier{userKey=8a00a0c8664c0be0016687d83fdb0025, userName='null'} |
---|
|
Info |
---|
|
You can perform Perform the following steps using an SSH client such as PuTTY. |
Configuring Storage for
and Docker
This section will provide provides an example to configure a raw block device and mount it at /var/lib/docker/ which is where the location to store all
and Docker data
is stored in from release 15.3.1
and later versionsonwards.
The example provided here will provision an XFS file system which is supported by both CentOS and Ubuntu. Other file systems such as EXT4 may be used at the discretion of the operator of the
system. However, their configuration is considered outside of the scope of this guide. The below commands should be applicable to either CentOS or Ubuntu and are meant only as a general guide since most environments will have unique configurations.
If you would like assistance, don't hesitate to reach out to our Customer Support at https://ribboncommunications.com/services/support-servicesContact Global Product Support for assistance.
Create a new filesystem file system at /var/lib/docker/ and mount it persistently on the host:
Validate that you have a Verify enough free disk to use. Hereexists before proceeding. In the example below, the additional free disk space is under nvme0n1.
Image Modified
Create the filesystem file system using the following command:
Code Block |
---|
mkfs.xfs /dev/$device |
Tip |
---|
|
Replace $device with the name of your actual device in all the following commands. Examples are provided for the reference system. |
for For example:
Code Block |
---|
mkfs.xfs /dev/nvme0n1 |
Create the mount point for Docker using the following command:
Code Block |
---|
mkdir -p /var/lib/docker/ |
Mount the new filesystem file system at /var/lib/docker/:
Code Block |
---|
mount /dev/$device /var/lib/docker/ |
for For example:
Code Block |
---|
mount /dev/nvme0n1 /var/lib/docker/ |
Image Modified
Update /etc/fstab to ensure the changes persist are still present after a reboot:
Code Block |
---|
echo "/dev/$device /var/lib/docker xfs defaults,noatime 1 1" >> /etc/fstab |
/ for For example:
Code Block |
---|
echo "/dev/nvme0n1 /var/lib/docker xfs defaults,noatime 1 1" >> /etc/fstab |
- Please pause here and
Before continuing, ensure your system is up-to-date, and
also to validate
the persistence of the storage configuration settings are accurate.
Assuming Assuming that there are no other production applications running on this server, execute the following command:
Code Block |
---|
apt-get update -y && reboot (Ubuntu) |
yum update -y && reboot (CentOS) |
Validate that the storage configuration persisted settings are accurate after the reboot , using the following command: