<p>I've been having loads of issues with <code>kubectl</code> not having enough space. How can I increase the default storage size allocated to <code>docker</code>?</p>
<p>None of minikube recommendations worked.</p>
<pre><code>1. Run &quot;docker system prune&quot; to remove unused Docker data (optionally with &quot;-a&quot;)
2. Increase the storage allocated to Docker for Desktop by clicking on:
   Docker icon &gt; Preferences &gt; Resources &gt; Disk Image Size
3. Run &quot;minikube ssh -- docker system prune&quot; if using the Docker container runtime
</code></pre>
<p>And the second is not possible from command line...</p>

<p>Taking your comment into consideration</p>
<blockquote>
<p>I get ImagePullBackOff when I try to deploy nginx on the cluster –
Caterina</p>
</blockquote>
<p>You can specify minikube's disk allocations separately:</p>
<p><code>minikube start --memory=8192 --cpus=4 --disk-size=50g</code></p>
<p>Which can help you to work around the disk space issues as the default is significantly smaller: <code> --disk-size string Disk size allocated to the minikube VM (format: &lt;number&gt;[&lt;unit&gt;], where unit = b, k, m or g). (default &quot;20000mb&quot;)</code></p>
