摘要:
#!/bin/bash id=`docker images |grep -v REPOSITORY |awk '{print $1}'` for i_name in $id;do echo $i_namedocker save -o ${i_name##*/}.tar.gz $i_namesleep 阅读全文
摘要:
grep 筛选信息 awk 截取列信息 docker images |grep -v REPOSITORY |awk '{print $1}' cut 截取字符串信息 docker images |grep -v REPOSITORY |awk '{print $1}'|cut -d "/" -f 阅读全文