Py学习  »  docker

docker archlinux映像:系统尚未以systemd作为init System(PID 1)启动。不能操作

Santhosh Yedidi • 4 年前 • 1078 次点击  

我正在使用docker hub中的archlinux/base官方图像。

我正在尝试使用systemctl,它说。

$ docker run --rm -it ac16c4b756ed systemctl start httpd     
System has not been booted with systemd as init system (PID 1). Can't operate.

如何解决这个问题。

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/52209
 
1078 次点击  
文章 [ 2 ]  |  最新文章 4 年前