SE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"

DOCKER_CONFIG="/etc/docker/daemon.json"
docker_copy_failed=0

cd "${BASE_DIR}" || exit 1

for item in `ls ./images/*.tar.gz` 
do
  echo 'load images .......'
  docker load < ${item}
done
