[root@localhost docker]# yum install docker......[root@localhost docker]# systemctl start dockerFailed to start docker.service: Unit is masked.
错误原因
# /var/log/messagesMay 12 18:14:04 localhost systemd: Started Session 11 of user root.May 12 18:14:04 localhost systemd-logind: New session 11 of user root.
Connecting to 192.168.40.128:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.Last login: Mon May 1218:14:04 2025 from 192.168.40.1
[root@test-1 ~]# hostname
test-1
[root@test-1 ~]#