-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not get the Dockerfile for systemd base image with the steps mentioned #22
Comments
There is no fakesystemd in the container anymore. there's a pending pull request for docker's documentation |
If it will help, I'm happy to build/publish a systemd enabled container to the u/centos namespace. |
HI Error SummaryIf you could publish the systemd enabled image it will be of great help |
I'm looking at this today, and realize I neglected to mention, does systemd-container not work for you? It has most of the systemd functionality, without some of the problematic parts. It can be used with the existing CentOS containers, like so:
|
For full systemd, you can use this:
|
Hey Thanks it did help me build stuff on this image thanks |
Actually, it doesn't work:
Any ideas how to get FULL systemd running in docker container with centos 7? |
Well, it works! I'm running it on Ubuntu Trusty, and I had to add |
The updated centos:latest container is now at 7.2 with full systemd installed (though not used by default). I'm going to mark this bug as closed. |
for more context, see CentOS/sig-cloud-instance-images#22 https://wiki.centos.org/AdditionalResources/Repositories/CR https://fedoraproject.org/wiki/EPEL Signed-off-by: Kefu Chai <kchai@redhat.com>
for more context, see CentOS/sig-cloud-instance-images#22 https://wiki.centos.org/AdditionalResources/Repositories/CR https://fedoraproject.org/wiki/EPEL Signed-off-by: Kefu Chai <kchai@redhat.com>
for more context, see CentOS/sig-cloud-instance-images#22 https://wiki.centos.org/AdditionalResources/Repositories/CR https://fedoraproject.org/wiki/EPEL Signed-off-by: Kefu Chai <kchai@redhat.com>
Hi
When i try to create the image frm the first dockerfile mentioned at:
https://github.com/docker-library/docs/tree/master/centos --- Dockerfile for systemd base image
I get the following:
Step 3 : RUN yum -y swap -- remove fakesystemd -- install systemd systemd-libs
---> Running in ac2363ba55ca
Loaded plugins: fastestmirror
No Match for argument: fakesystemd
swap remove fakesystemd
---> 9dde46f4a0dc
Agter going thru the 2nd dockerfile and starting the image with
docker run --privileged -ti -v /sys/fs/cgroup:/sys/fs/cgroup:ro -p 80:80 local/c7-systemd-httpd
It still gives the error:
Failed to get D-Bus connection: No connection to service manager.
PLease help or suggest a image that has the basic things in plave.
Failed to get D-Bus connection: No connection to service manage
The text was updated successfully, but these errors were encountered: