DevOps https://keopx.net/ es Stop and Remove all Docker containers https://keopx.net/blog/stop-and-remove-all-docker-containers <span>Stop and Remove all Docker containers</span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><h2>Stop all Docker containers</h2> <pre> <code class="language-bash">docker stop $(docker ps -a -q)</code></pre><h2>Remove not running all containers</h2> <pre> <code class="language-bash">docker ps -a | grep 'weeks ago' | awk '{print $1}' | xargs --no-run-if-empty docker rm</code></pre><h2>Delete all Volume</h2> <pre> <code class="language-bash">docker volume rm $(docker volume ls -qf dangling=true)</code></pre><h2>Delete all containers</h2> <pre> <code class="language-bash">docker rm $(docker ps -a -q)</code></pre><h2>Delete all images</h2> <pre> <code class="language-bash">docker rmi $(docker images -q)</code></pre><h2>Clean docker used space.</h2> <pre> <code class="language-bash">sudo service docker stop &amp;&amp; sudo rm -rf /var/lib/docker &amp;&amp; sudo service docker stop &amp;&amp; sudo service docker start</code></pre><p>Source:</p> <ul><li><a href="https://gist.github.com/keopx/51e37289b2088358b82b">stop_remove_docker_all.md</a></li> </ul></div> <span><span>keopx</span></span> <span><time datetime="2018-01-30T20:48:09+01:00" title="Martes, Enero 30, 2018 - 20:48">Mar, 30/01/2018 - 20:48</time> </span> <div class="field field--name-field-tax-cat field--type-entity-reference field--label-above"> <div class="field__label">Categoria</div> <div class="field__items"> <div class="field__item"><a href="/categoria/docker" hreflang="es">Docker</a></div> </div> </div> <div class="field field--name-field-tax-tag field--type-entity-reference field--label-above"> <div class="field__label">Tag</div> <div class="field__items"> <div class="field__item"><a href="/tag/docker" hreflang="es">Docker</a></div> <div class="field__item"><a href="/tag/containers" hreflang="es">Containers</a></div> <div class="field__item"><a href="/tag/devops" hreflang="es">DevOps</a></div> </div> </div> <section data-drupal-selector="comments" class="comments"> <h2 class="comments__title">Comentarios</h2> <div class="add-comment"> <div class="add-comment__form"> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=296&amp;2=field_comments&amp;3=comment" token="XZVg4USyCkxZc6Q3TeHD5WUFVXaRZZ2eepogcOAMlHM"></drupal-render-placeholder> </div> </div> </section> Tue, 30 Jan 2018 19:48:09 +0000 keopx 296 at https://keopx.net Docker - Entorno de trabajo configurado en 1 minuto [WCBilbao] https://keopx.net/talk/docker-entorno-de-trabajo-configurado-en-1-minuto-wcbilbao <span>Docker - Entorno de trabajo configurado en 1 minuto [WCBilbao]</span> <span><span>keopx</span></span> <span><time datetime="2017-05-13T16:09:25+02:00" title="Sábado, Mayo 13, 2017 - 16:09">Sáb, 13/05/2017 - 16:09</time> </span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><a href="https://2017.bilbao.wordcamp.org/programa/">Docker - Entorno de trabajo configurado en 1 minuto [WCBilbao]</a></p> <p>Hablaremos de:</p> <ul><li>¿Qué es Docker?</li> <li>Ventajas de trabajar con Docker (vs VM)</li> <li>Instalación de Docker</li> <li>Componentes de Docker</li> <li>Principales comandos de Docker</li> <li>Docker-Compose</li> <li>Introducción a DockerHub</li> <li>DevOps</li> <li>Cómo usarlo en el día a día.</li> <li>Demo time.</li> </ul><p class="text-align-center"> <iframe allowfullscreen="" frameborder="0" height="485" marginheight="0" marginwidth="0" scrolling="no" src="//www.slideshare.net/slideshow/embed_code/key/IhCNZCNJuoRy4m" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" width="595"></iframe></p> <div class="text-align-center" style="margin-bottom:5px"><strong><a href="//www.slideshare.net/keopx/docker-entorno-de-trabajo-configurado-en-1-minuto-wcbilbao" target="_blank" title="Docker - Entorno de trabajo configurado en 1 minuto [WCBilbao]">Docker - Entorno de trabajo configurado en 1 minuto [WCBilbao]</a> </strong> de <strong><a href="https://www.slideshare.net/keopx" target="_blank">Keopx </a></strong></div> </div> <div class="field field--name-field-tax-cat field--type-entity-reference field--label-above"> <div class="field__label">Categoria</div> <div class="field__items"> <div class="field__item"><a href="/categoria/wordpress" hreflang="es">WordPress</a></div> <div class="field__item"><a href="/categoria/wordcamp" hreflang="es">WordCamp</a></div> <div class="field__item"><a href="/categoria/docker" hreflang="es">Docker</a></div> <div class="field__item"><a href="/categoria/drupal" hreflang="es">Drupal</a></div> <div class="field__item"><a href="/categoria/drupal-planeta" hreflang="es">Drupal Planeta</a></div> </div> </div> <div class="field field--name-field-tax-tag field--type-entity-reference field--label-above"> <div class="field__label">Tag</div> <div class="field__items"> <div class="field__item"><a href="/tag/wordpress" hreflang="es">WordPress</a></div> <div class="field__item"><a href="/tag/wordcamp" hreflang="es">WordCamp</a></div> <div class="field__item"><a href="/tag/docker" hreflang="es">Docker</a></div> <div class="field__item"><a href="/tag/devops" hreflang="es">DevOps</a></div> <div class="field__item"><a href="/tag/wcbilbao" hreflang="es">WCBilbao</a></div> </div> </div> Sat, 13 May 2017 14:09:25 +0000 keopx 274 at https://keopx.net