If you would like to use Docker as a non-root user, you should now consider adding your user to the “docker” group with something like:
sudo usermod -aG docker your-user
Remember that you will have to log out and back in for this to take effect!
docker stats --no-stream --format "table {{.Name}}\t{{.MemPerc}}\t{{.MemUsage}}\t{{.Container}}" | sort -k 2 -r
docker image prune docker volume prune
docker images docker rmi -f $(docker images -q -a )
HEALTHCHECK CMD curl --fail http://localhost || exit 1