BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  35 Posts :: 3 Stories :: 22 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.

posted on 2018-12-16 13:43 Life is no respector of any genius. 阅读(56) 评论(0)  编辑  收藏