# 设为开机自启动/取消自启动 systemctl enable/disable xxxx.service # 基本启停操作 systemctl start/stop/restart xxxx.service # 查看状态 systemctl status xxxx.service # 查看服务列表 systemctl list-units --type=service
# 列出容器 docker ps