Docker compose v2 has the command syntax docker compose. Adding to mona's answer (i don't have enough reputation to comment), chances are your docker unit file is in a different path. 根据 autodl 的官方说明和用户实践反馈,autodl的容器实例本身基于 docker 技术隔离,因此不支持在实例内部再运行docker服务。 估计无法运行的主要原因: 架构限制,autodl的 gpu实.
5 having a fresh off the shelf ubuntu 22.04 installation and installed docker according the book.