On Tue, Jan 05, 2021 at 03:38:21PM +0800, Luan Shengde wrote:
check_passwd_file "$root_pwd_file" load_docker_img "$1" echo $docker_name_tag -IMAGE_PACK=$(echo ${docker_name_tag%%:*}.cgz) +IMAGE_NAME=${docker_name_tag%%:*} +IMAGE_PACK=$(echo ${IMAGE_NAME##*/}.cgz)
just use: IMAGE_PACK=${IMAGE_NAME##*/}.cgz
ok.
Thanks, Chenglong
Thanks, Luan Shengde
start=( docker run -- 2.23.0