Open chendelin1982 opened 8 months ago
select domains: goweb.cc
# 查看新磁盘的设备名(数据盘是/dev/sdb)
lsblk
# 创建挂载目录
sudo mkdir /var/lib/docker
# 格式化新磁盘(如果是新磁盘或你想重新格式化)
sudo mkfs.ext4 /dev/sdb
# 挂载新磁盘
sudo mount /dev/sdb /var/lib/docker
# 可选: 使挂载在重启后持久化
echo '/dev/sdb /var/lib/docker ext4 defaults 0 0' | sudo tee -a /etc/fstab
What type of your feature request?