https://bugzilla.redhat.com/show_bug.cgi?id=1033604

            Bug ID: 1033604
           Summary: Unable to start systemd service in Docker container
           Product: Fedora
           Version: 20
         Component: docker-io
          Assignee: l...@redhat.com
          Reporter: mfoj...@redhat.com
        QA Contact: extras...@fedoraproject.org
                CC: golang@lists.fedoraproject.org, l...@redhat.com,
                    mat...@redhat.com, mgold...@redhat.com,
                    vba...@redhat.com



Description of problem:

Using Dockerfile like this:

FROM        mattdm/fedora:latest
RUN        yum update -y
RUN        yum install -y redis
RUN        systemctl enable redis.service
RUN        systemctl start redis.service
EXPOSE      6379
ENTRYPOINT    ["/usr/bin/redis-cli"]


The step 'systemctl start redis.service' failed with this error message:

Failed to get D-Bus connection: No connection to service manager.

Version-Release number of selected component (if applicable):

Name        : docker-io
Arch        : x86_64
Version     : 0.7
Release     : 0.17.rc6.fc20

Steps to Reproduce:
1. Save the above Dockerfile
2. Run: docker build -t test/redis .
3. The build fill faile on systemctl start.

Actual results:

The service failed to start due to D-BUS connection.

Expected results:

The service should be started?

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang

Reply via email to