Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 docker-py 来运行 docker exec。但是,它正在返回 Killed(大约一个小时后)。
>>> import docker >>> client = docker.DockerClient(version = "auto", base_url = "") >>> client.containers.get("container_name").exec_run("start") Killed
无法理解为什么会这样?有任何想法吗?谢谢!