User Tools

Site Tools


admin:docker:start

Docker

Docker as a non-root user

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!

stats sortieren

docker stats --no-stream --format "table {{.Name}}\t{{.MemPerc}}\t{{.MemUsage}}\t{{.Container}}" | sort -k 2 -r

Müll entfernen

docker image prune
docker volume prune
docker images
docker rmi -f $(docker images -q -a )

Healtcheck

Dokerfile
HEALTHCHECK CMD curl --fail http://localhost || exit 1

Network stopped working

admin/docker/start.txt · Last modified: 2019/05/11 11:17 by lennart