1、编写shell脚本
mkdir -p /data/solution
vim clean-image.sh
#! /bin/bash
# 设置保留镜像版本数
baol_num=6
# 请更改应用镜像名称
init_data() {
image_list=(contract-auth contract-business contract-data contract-file contract-frontend contract-gateway \
contract-office contract-system group-contractmanagement-frontend)<