Update all Docker Images at once

docker images | awk ‘$1 !~ /halo9pan/ { printf (“%s:%s\n”, $1, $2) }’ | awk ‘/^REPOSITORY|/ {next} {print $1}’ | xargs -L1 docker pull
docker images | awk ‘$2 ~ // {print $3}’ | xargs -L1 docker rmi

Source: Update all Docker Images at once by stefanXO

Author: Halo9Pan

代码工匠,数据画家,魔云散人,全栈程序员,交互设计师,智能实践者……