Skip to content

Instantly share code, notes, and snippets.

View tmpbook's full-sized avatar
😇
aha

临书 tmpbook

😇
aha
View GitHub Profile
@tmpbook
tmpbook / check_image.py
Last active January 17, 2024 06:12
Pull 4254 docker images and delete them by python | 并发拉取镜像,记录拉取成功、失败、超时的情况
#!/usr/bin/env python
#-*- coding: utf-8 -*-
import os
import sys
import datetime
import subprocess
import time
import gevent.pool
import gevent.monkey
print 'test'