小编d33*_*tah的帖子

如何在 Docker 中在 CentOS 上运行 PostgreSQL?

我跑了centos:7.1.1503然后yum install postgresql。不幸的是,由于 systemd 问题,service postgresql start即使安装后我也无法运行initscripts

Redirecting to /bin/systemctl start  postgresql.service
/usr/sbin/service: line 79: /bin/systemctl: No such file or directory
[root@8109c497195b ~]# yum provides systemctl  
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos2.hti.pl
 * extras: centos.komster.pl
 * updates: centos2.hti.pl
systemd-208-20.el7.x86_64 : A System and Service Manager
Repo        : base
Matched from:
Filename    : /bin/systemctl



systemd-208-20.el7_1.2.x86_64 : A System and Service Manager
Repo        : updates
Matched from:
Filename …
Run Code Online (Sandbox Code Playgroud)

postgresql centos systemd docker

4
推荐指数
1
解决办法
7365
查看次数

标签 统计

centos ×1

docker ×1

postgresql ×1

systemd ×1