docker images created by an azure pipeline are not deleted correctly with sudo docker image prune -a
.
The commands output tells that several images are untagged and deleted, however total reclaimed space: 0B
.
df
confirms that there is not any reclaimed space
sudo docker system prune -a
however works.
I also never had any problems with deleting docker images that I created with docker in the commandline
I am sorry it was not an azure devops problem but a problem with different versions of docker. On my local machine I used the one from the ubuntu packagemanagement. The devops agent run the one from the docker using ubuntus docker version solved the problem.