docker remove portainer code example
Example 1: remove unused images docker manually
$ docker rmi $(docker images -q -f dangling=true)
Example 2: docker remove container
docker system prune
$ docker rmi $(docker images -q -f dangling=true)
docker system prune