Text only
Remove all stopped containers
/raw/329f12f12ec9c27a47e6a30384ff17a9/
329f12f12ec9c27a47e6a30384ff17a9
text
Text only
1
2025-04-04T11:42:36
True
False
False
Dec 03, 2019 at 10:50 PM
/api/public/snipt/109/
remove-all-stopped-containers
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>docker rm $(docker ps -a -q)
</span></pre></div>
</td></tr></table>