Comment 9 for bug 1574556

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

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:/#