【发布时间】:2021-04-16 08:14:45
【问题描述】:
我是 Docker 新手,我正在尝试使用 docker。
我做的步骤。
- 拉取 ubuntu18.04 映像并以交互方式运行。
- 在其中安装了 apache2。
现在,当我尝试运行 apache 时,出现以下错误。 作者:
sudo systemctl start apche2
错误:
System has not been booted with systemd as init system (PID 1). Can't operate.
之前我遇到了一个错误
systemctl command not found ubuntu
我运行了一个命令
sudo apt-get install --reinstall systems .
谁能帮我解决这个问题?
【问题讨论】:
-
投票结束作为离题 - 请检查help center和apache标签描述。这不是开发/编程问题,而是关于运行软件的问题。
标签: docker apache ubuntu docker-container