Skip to content

Instantly share code, notes, and snippets.

@Oats87
Created October 8, 2019 20:25
Show Gist options
  • Save Oats87/d49d44ab960561cbe1ae6ec425330254 to your computer and use it in GitHub Desktop.
Save Oats87/d49d44ab960561cbe1ae6ec425330254 to your computer and use it in GitHub Desktop.
fdisk /dev/sdb
mkdir /var/lib/docker
echo $(blkid /dev/sdb1 | awk '{print $2}' | sed -e 's/"//g') /var/lib/docker ext4 defaults 0 0 >> /etc/fstab
sed -i 's/\/dev\/mapper\/centos-swap/#\/dev\/mapper\/centos-swap/g' /etc/fstab
mount -a
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment