开启docker

  1. systemctl start docker

关闭docker

  1. docker stop `docker ps -aq`
  1. systemctl stop docker
  1. systemctl stop docker.socket