Okay, so as a workaround to this problem, you need to override your
$HOME environment variable.  Try this:

kirkland@x250:~⟫ sudo /snap/bin/docker run hello-world
failed to create user data directory. errmsg: Permission denied

kirkland@x250:~⟫ sudo HOME= /snap/bin/docker run -it ubuntu bash
root@cb0a9845a6fe:/#

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1574556

Title:
  apparmor denials reported for encrypted HOME

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1574556/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to