How can I change the root directory the docker daemon uses?
Issue
- Need to change the root directory the docker daemon uses.
- I want to use a directory other than
/var/lib/docker
for the docker container runtime. - Docker uses
/var/lib/docker
as default root directory. It is possible to change this root directory ? - Is it possible to change docker root directory ?
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux Atomic Host
- docker
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.