From my previous question I got a solution that worked that time: sudo chattr +i /run/docker.sock. But right now it doesn't work. I get chattr: operation not supported while reading flags on /run/docker.sock. Why chattr doesn't work on docker.sock anymore? How can I fix it?
Asked
Active
Viewed 522 times
4
sanyassh
- 157
sudo chmod 777 /run/docker.sockworks just fine. – sanyassh Apr 19 '20 at 16:31chmodworks butchattrdoesn't. This is true for any socket file. Try it yourself by creating a socket filenc -lU test.sock(orncat) – Severus Tux Apr 19 '20 at 16:34chattr +i /run/docker.sockas suggested in the answer and comments and it worked... – sanyassh Apr 19 '20 at 17:23