Last Updated: February 25, 2016
· kjellski
Gavatar big

Ubuntu 14.04 LTS Docker installation: no such file or directory

I came across an error while installing docker and running the default example on my new shiny ubuntu machine. Docker told me:

[~]$ sudo docker.io run -i -t ubuntu /bin/bash
2014/05/28 22:16:32 no such file or directory

And after switching to the latest, this:

[~]$ sudo docker run -i -t ubuntu /bin/bash
2014/05/28 22:22:41 set apparmor profile docker-default: no such file or directory

After a litte searching, and fiddling arround, I noticed that all of this had nothing to do with the real problem, ufw was getting in my way:

[~]$ sudo nano /etc/default/ufw



to this:


And automagically it worked. Documentation here , just didn't thought of this being the reason. Another good call to RTFM!

As always, hope it helps!

Say Thanks

1 Response
Add your response


Unfortunately, this does not help me on Linux Mint 17.
What helps me with this problem is installing apparomor-utils.

$ sudo apt-get install apparmor-utils

This advice is from here:

Anyway, thank you for pro tip!

over 1 year ago ·
Filed Under