docker images |grep -v REPOSITORY|awk '{print $1}'|xargs -L1 docker pull
В данном случае - удаляю amazon/opendistro-for-elasticsearch
docker images | grep 'amazon/opendistro-for-elasticsearch' | awk '{print $3}' | xargs -L1 docker rmi