No daemon.json file found in /etc/docker/
Docker Community Edition (CE) 18.06.1-ce
Steps to reproduce
Using find searching / without luck, I need to change Docker Root Dir: /var/lib/docker
docker info output;
Docker Root Dir: /var/lib/docker
Found the following information in the below url;
Configure the Docker daemon
There are two ways to configure the Docker daemon:
Use a JSON configuration file. This is the preferred option, since it keeps all configurations in a single place.
Use flags when starting dockerd.
Docker daemon directory
The Docker daemon persists all data in a single directory. This tracks everything related to Docker, including containers, images, volumes, service definition, and secrets.
By default this directory is:
/var/lib/docker on Linux.
You can configure the Docker daemon to use a different directory, using the data-root configuration option.
Thanks for your time.