Created
February 2, 2017 08:39
-
-
Save rahulkrishnanfs/06af4d15b0c82d6791fb5fc2c1c5ee84 to your computer and use it in GitHub Desktop.
Intense Troubleshooting Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intense Troubleshooting Docker | |
############ Debug the docker-engine | |
$dockerd --debug | |
Output | |
--------------------- | |
DEBU[0000] docker group found. gid: 999 | |
DEBU[0000] Listener created for HTTP on unix (/var/run/docker.sock) | |
INFO[0000] libcontainerd: new containerd process, pid: 7996 | |
DEBU[0000] containerd: read past events count=2 | |
DEBU[0000] containerd: supervisor running cpus=1 memory=998 runtime=docker-runc runtimeArgs=[] stateDir=/var/run/docker/libcontainerd/containerd | |
DEBU[0000] containerd: grpc api on /var/run/docker/libcontainerd/docker-containerd.sock | |
DEBU[0000] libcontainerd: containerd health check returned error: rpc error: code = 14 desc = grpc: the connection is unavailable | |
DEBU[0001] libcontainerd: containerd health check returned error: rpc error: code = 14 desc = grpc: the connection is unavailable | |
DEBU[0001] Using default logging driver json-file | |
DEBU[0001] Golang's threads limit set to 7020 | |
INFO[0001] [graphdriver] using prior storage driver: aufs | |
$docker events ->>>>>>>>>>>>>>> Realtime Docker Events for the container | |
Example: | |
---------------------------- | |
$docker events --------------- Enabled the docker events on one terminal | |
$docker run -it -d ubuntu --------------- Started the conatiner for checking the events | |
##############Output | |
2017-02-02T08:38:11.472238916Z container create 12822a8b8f9c713e20a0e5e9a182362b73873cd12463ce3dee2cf50a6ac5884e (image=ubuntu, name=goofy_wilson) | |
2017-02-02T08:38:11.504609806Z network connect a57ff2a1e975fa430d565a9368d44e08c129605ca1a70ca37ec440ec24ea656c (container=12822a8b8f9c713e20a0e5e9a182362b73873cd12463ce3dee2cf50a6ac5884e, name=bridge, type=bridge) | |
2017-02-02T08:38:11.581521458Z container start 12822a8b8f9c713e20a0e5e9a182362b73873cd12463ce3dee2cf50a6ac5884e (image=ubuntu, name=goofy_wilson) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment