docker (2)

Davide Airaghi

Docker: Update all the images

If you want to pull and update all the images you have so far downloaded (and are still present on your system) using dockerΒ you can execute the following command: for IMAGE in $( LANG=en docker image ls -a --format table | grep -v -E "^REPOSITORY"…

Continue reading...
Davide Airaghi

Docker - ricerca immagine contenente un layer

PuΓ² essere utile, dato l'identificativo di un layer, andare a cercare in quali immagini esso Γ¨ usato. Per questa semplice operazione Γ¨ possibile utilizzare lo script docker-find-layer-image riportato qui di seguito. #!/bin/bashLAYER=$1if [ "$LAYER" = "" ]; then echo "" echo "Layer not given as…

Continue reading...