docker: docker.py add check sub-command