一、开启关闭docker

  1. systemctl start docker
  2. systemctl restart docker
  3. systemctl stop docker
  4. systemctl status docker

二、查看docker容器

  1. docker ps //查看运行的docker容器
  2. docker ps -a //查看所有的docker容器