Hi all,
I’m trying to build/run my first image/container “centos-dhcp”, my Dockerfile is as follow:
FROM centos
RUN yum -y install dhcp-server
CMD systemctl start dhcpd
- The issue is that when I try to run the image I get the following error:
System has not been booted with systemd as init system (PID 1). Can’t operate.
Failed to connect to bus: Host is down
Any idea why and how I can solve it?
Thank you