10 2018 档案

Docker修改本地镜像与容器的存储位置
摘要:这个方法里将通过软连接来实现。 首先停掉Docker服务: systemctl restart docker或者service docker stop然后移动整个/var/lib/docker目录到目的路径: mv /var/lib/docker /root/data/dockerln -s /ro 阅读全文

posted @ 2018-10-31 09:32 NothingLZ 阅读(324) 评论(0) 推荐(0)

Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi'
摘要:错误: 在运行sudo apt-get update时出现如上信息,解决方法如下: 执行完上述命令之后再次运行sudo apt-get update就不会再出现上面的错误。 参考: https://askubuntu.com/questions/774986/appstreamcli-hanging 阅读全文

posted @ 2018-10-18 11:48 NothingLZ 阅读(349) 评论(0) 推荐(0)

导航