27

记一次k8s修改docker存储路径引发的问题-愺艮搥豩

 3 years ago
source link: https://blog.51cto.com/riverxyz/2542866
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
背景:测试环境安装centos7的时候没有手动分区,自动分区根目录只有50G,而安装docker的时候也没有指定存储路径,默认是/var/lib/docker,我在/home底下创建一个目录docker_data/docker,然后将/var/lib/docker目录内容拷贝到/home/docker_data/docker目录,然后做软链接将/var/lib/docker指定到/home/doc

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK