neneno1 Posted October 17, 2017 Report Posted October 17, 2017 I am trying to start a service inside the docker container (from centos7 image) and I get the below error: Failed to get D-Bus connection: Operation not permitted how to start a service on container (using service or systemctl)? Quote
Detriotlions Posted October 17, 2017 Report Posted October 17, 2017 where are u getting the image of docker from ?? it depends from Quote
neneno1 Posted October 17, 2017 Author Report Posted October 17, 2017 My Dockerfile: FROM centos:7 RUN yum -y install mariadb mariadb-server COPY start.sh start.sh CMD ["/bin/bash", "start.sh"] My start.sh file: service mariadb start My post on stack overflow: https://stackoverflow.com/questions/46800594/start-service-using-systemctl-inside-docker-conatiner Quote
alooparata Posted October 18, 2017 Report Posted October 18, 2017 endho ee Docker ..container la gola...apache karaf, kakfa, akka emito ivi...vadddu ra baanisalu kaakandi ra Quote
Detriotlions Posted October 18, 2017 Report Posted October 18, 2017 2 minutes ago, alooparata said: endho ee Docker ..container la gola...apache karaf, kakfa, akka emito ivi...vadddu ra baanisalu kaakandi ra it should start now Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.