Get log file docker inspect --format='{{.LogPath}}' container id Show logs in real time docker logs -f --tail 10 --follow container id
$ docker system prune $ docker system prune -a
docker ps -f "status=exited" https://stackoverflow.com/questions/30231187/list-only-stopped-docker-containers
Error: runtime/cgo: pthread_create failed: Resource temporarily unavailable SIGABRT: abort PC=0x7fcd25acef47 m=8 sigcode=18446744073709551610 goroutine 0 [idle]: runtime: unknown pc 0x7fcd25acef47 stack: frame={sp:0x7fcd07ffe840, fp:0x0} stack=[0x7fcd077ff288,0x7fcd
To fix, open your script with vi or vim and enter in vi command mode (key Esc ), then type this: : set fileformat=unix Finally save it :x! or :wq! https://stackoverflow.com/questions/2920416/configure-bin-shm-bad-interpreter
error: library initialization failed - unable to allocate file descriptor table - out of memory. fix: $ sudo vim /usr/lib/systemd/system/docker.service >>> #change this line ExecStart=/usr/bin/dockerd -H fd:// --containerd=/