Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
docker images | grep " [1 days ago|months|weeks]* ago" | awk '{print $3,$4,$5}' | xargs docker rmi --force $3

Fail to stop docker containers  throwing "unknown error after kill: runc did not terminate sucessfully: container_linux.go:388: signaling init process caused "permission denied""

if docker compose down is throwing below error on Ubuntu machine run below to fix it see

Code Block
sudo aa-remove-unknown

Docker Permissions Error (docker.sock has in-accessible permissions) 

If you are running into file permission issues when attempting to use any Docker commands, then it could be due to the file permissions of some Docker files. 

Running the following command fixes the most common issue: 

Code Block
titleDocker File Permission Fix
sudo chmod 777 /var/run/docker.sock