To Export docker save -o services.tar `docker-compose config | awk '{if ($1 == "image:") print $2;}' | sort | uniq | xargs` To Import docker load -i ./services.tar