Configuring a Docker Disk on an Intel R1208WFT Node - Kubernetes

Kubernetes Appliance Software Installation Guide

prodname
Kubernetes
created_date
June 2018
category
Installation
featnum
B035-6103-068K
  1. Create a partition on /dev/sdb for Docker storage: parted -s -a optimal /dev/sdb mklabel gpt mkpart primary 0% 100%
  2. Make ext4 for Docker storage and label it: mkfs.ext4 -L DOCKER /dev/sdb1
  3. Append the following line to /etc/fstab to mount /dev/sdb1 to /var/lib/docker on reboot: LABEL=DOCKER /var/lib/docker ext4 defaults 0 0
  4. Mount the partition: mount /var/lib/docker