Running an lamp image pulled from docker hub

hello friends.
i recently pulled an image which is ubuntu-lamp and centos-lamp from docker hub. when i’m running them the output i’m getting is, the three processes get into exited mode and going idle, when i installed manually the lamp server, i’m unable to start the services, getting an error called “Failed to get D-Bus connection: Operation not permitted” i googled about it but didn’t get any help, i hope you help me
thanks in advance