解决方案 dockerfile 12FROM amazonlinux:2022RUN yum install -y /usr/bin/systemctl 构建image 1docker build -t amzn2:systemctl . 安装成功