美文网首页
修改images目录

修改images目录

作者: 高机动老王 | 来源:发表于2017-07-17 18:16 被阅读14次

找了好久,在stackoverflow上找到一个修改办法

这个是跑在CENTOS和RHEL7上才能用到以下办法 

This solution works on Red Hat 7.2 & Docker 1.12.0

Edit the file /lib/systemd/system/docker.service in your text editor.

add -g /path/to/docker/ at the end of ExecStart directive. The complete line should look like this.

ExecStart=/usr/bin/dockerd -g /path/to/docker/

Execute the below command

systemctl daemon-reload

systemctl restart docker

Execute the command to check docker directory

docker info | grep "loop file\|Dir"

If you have /etc/sysconfig/docker file in Red Hat or docker 1.7.1 check this answer.

相关文章

  • 修改images目录

    找了好久,在stackoverflow上找到一个修改办法 这个是跑在CENTOS和RHEL7上才能用到以下办法 T...

  • Linux之LAMP相关

    Linux 把目录 /images/small 修改为可写可读可执行:chmod 777 /images/smal...

  • Flutter 处理静态资源与项目图片

    项目根目录新增 images 文件夹,用来存放图片。 修改pubspec.yaml 文件,内容如下: main.d...

  • Recipe-Box Recipe模块

    创建 images 目录,并放置一张图片当做默认图片,最好把 images 目录权限设置为 777(images的...

  • Flutter研究(四)- 找不到图片

    官方文档:添加图片 1、在flutter_app根目录下创建images文件夹(放置图片文件) 2、修改pubsp...

  • Flutter学习--Image组件

    一、介绍 展示图片资源 1.必须在根目录下创建images子目录,images目录中,创建2.0x和3.0x文件夹...

  • webpack 3.X学习之图片处理

    CSS中图片处理 在src目录下新建一个images目录,把图片放入images文件夹中;在index.html文...

  • Aurora学习DAY1

    --常用目录webRoot\images --图片资源目录webRoot\modules --screen、svc...

  • Karabiner修改键盘映射

    将¥修改为\。修改后重启。 ![将¥修改为](http://upload-images.jianshu.io/up...

  • dockerUse

    images配置:修改了~/.bashrc(get internet)export http_proxy=expo...

网友评论

      本文标题:修改images目录

      本文链接:https://www.haomeiwen.com/subject/ovjqkxtx.html