UPDATE: Docker has security issues:
- Kernel exploits
- Denial-of-service attacks
- Container breakouts
- Poisoned images
- Compromising secrets
https://www.oreilly.com/content/five-security-concerns-when-using-docker/
docker image prune -a
- Remove all unused imagesdocker images --format 'table {{.Repository}}\t{{.Tag}}\t{{.ID}}\t{{.CreatedAt}}\t{{.Size}}'
- list images with their size
docker container inspect -f '{{ .NetworkSettings.IPAddress }}' CONTAINER_NAME
brew install jq
docker network inspect -f '{{json .Containers}}' bridge | \
jq '.. | if type=="object" and has("Name") then {(.Name): .IPv4Address} else empty end'