Bryan

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  37 Posts :: 3 Stories :: 24 Comments :: 0 Trackbacks
As recently I need to install oracle in docker 17.05.0-ce , but find the image size is large and the fs on linux could not hold it, so I need to change the rootdir on redhat linux to another filesystem. and I have tried several options from the website and either of them could not work. and finally, It seems that we need to change the file
[root@bigdata docker]# vi /etc/systemd/system/docker.service.d/docker.conf

[Service] ExecStart= ExecStart=/usr/bin/dockerd --graph=/data/docker --storage-driver=overlay
/data/docker should not be quoted. Then run the command "systemctl daemon-reload" to make it work.

Reference
https://stackoverflow.com/questions/24309526/how-to-change-the-docker-image-installation-directory
posted on 2018-12-16 13:43 Life is no respector of any genius. 阅读(312) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: