How to remove configure volumes in docker images
<p>I use <code>docker run -it -v /xx1 -v /xx2 [image] /bin/bash</code> to create a container.</p>

<p>Then commit to image and push to docker hub.</p>

<p>use <code>docker inspect [image]</code></p>

<p>The <code>Volumes</code> detail is</p>

<pre><code>"Volumes": {
            "/xx1": {},
            "/xx2": {}
        },
</code></pre>

<p>Now I want to remove volume <code>/xx1</code> in this image.</p>

<p>What should I do?</p>