docker_practice/appendix/debug.md

43 lines
685 B
Go
Raw Normal View History

2018-12-26 10:05:42 +08:00
# Docker
## Debug
dockerd daemon.json /etc/docker/
```json
{
"debug": true
}
```
```bash
$ sudo kill -SIGHUP $(pidof dockerd)
```
dockerd
##
```bash
$ sudo dmesag |grep dockerd
$ sudo dmesag |grep runc
```
## Docker
dockerd
```bash
$ sudo kill -SIGUSR1 $(pidof dockerd)
```
2018-12-26 10:11:42 +08:00
## Docker
* Docker *
```bash
$ sudo rm -rf /var/lib/docker
```