dive 直接用本地镜像名称来启动,不需要走 hub dive.sh IMAGE_NAME="${1}" TMP_FILE=/tmp/dive-tmp-image.tar docker save "$IMAGE_NAME" > $TMP_FILE && dive $TMP_FILE --source=docker-archive && rm $TMP_FILE 示例: ./dive.sh docker-image-name