Configuring a Docker Disk on an Intel R1208WFT Node - Kubernetes

Kubernetes Appliance Software Installation Guide

Product
Kubernetes
Published
June 2018
Language
English (United States)
Last Update
2019-01-31
dita:mapPath
kpy1524680839041.ditamap
dita:ditavalPath
ft:empty
  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