docker 批量push镜像
发表于 : 2022-09-13, 12:18
代码: 全选
for i in $(docker images | grep username | awk 'BEGIN{OFS=":"}{print $1,$2}'); do docker push $i; done
代码: 全选
for i in $(docker images | grep username | awk 'BEGIN{OFS=":"}{print $1,$2}'); do docker push $i; done