fix fail to run docker-clear-containers on python3