<p>I wanna change docker storage drive to overlay2 for use kubernetes</p>

<p>daemon.json :</p>

<pre><code>{
  "exec-opts": ["native.cgroupdriver=systemd"],
  "log-driver": "json-file",
  "log-opts": {
    "max-size": "100m"
  },
  "storage-driver": "overlay2"
}

</code></pre>

<p>but the service cannot start</p>

<p>journalctl -b -u docker.service:</p>

<pre><code>level=error msg="failed to mount overlay: permission denied" storage-drive
May 05 05:35:32 master1 dockerd[492]: failed to start daemon: error initializing graphdriver: driver not supported

</code></pre>

Mahdi Khosravi
<p>I changed my dockerd version from 5.19.3 to 5.19.5 (ubuntu) and that problem fixed and docker worked on overlay2 storage mode</p>

<pre><code>sudo apt-get install docker-ce=5:19.03.5~3-0~ubuntu-xenial

</code></pre>
