下面是一个示例代码,使用Python的Docker SDK来查看已设置为自启动的容器: importdockerdeflist_autostart_containers():client=docker.from_env()containers=client.containers.list(filters={"restart":"always"})forcontainerincontainers:print("Container ID: ",container.id)print("Container Name: ",container.name...