The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 313,108     Votes:  21 
Tags: server   16.04   systemd   docker  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/813644
Title: systemctl failed to connect to bus - docker ubuntu:16.04 container
ID: /2016/08/18/systemctl-failed-to-connect-to-bus-docker-ubuntu_16.04-container
Created: August 18, 2016    Edited:  July 22, 2017
Upload: March 26, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Others have reported a similar problem. Start up the terminal and type:

$ env

Do you see an environment variable like this?

XDG_RUNTIME_DIR=/run/user/`id -u`

Where id -u is enclosed in backticks not single quotes. This variable is reinterpreted into a number usually 1000 for regular users and 0 for super user (sudo).

If the environment variable XDG_RUNTIME_DIR does not exist you need to create it. The full discussion is in launchpad systemd answers.

⇧ How can I quickly disable standby lid off in Ubuntu Unity 16.04? USB Hub not working with Ubuntu 16.04  ⇩