错误描述
启动docker服务的时候报错:Failed to start docker.service: Unit docker.service is masked.
解决方案
依次输入指令:
sudo systemctl unmask docker
sudo systemctl start docker
可能遇到的问题
$ sudo systemctl start docker
Job for docker.service Failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
输入提示的命令
sudo systemctl status docker.service
journalctl -xe