sudo docker ps -a -qsudo docker ps -a|cutawk '{print $1}'#删除前八条sudo docker ps -a -q|head -n 8|xargs sudo docker rm ```root@docker-azure:/var/lib/docker/containers/ef9301c442526fa2d7de00dfb7209221569fcc6cab2029dbae07e298572aebd0# cat ef9301c442526fa2d7de00dfb7209221569fcc6cab2029dbae07e298572aebd0-json.log { "log":"error: database is uninitialized and MYSQL_ROOT_PASSWORD not set\r\n","stream":"stdout","time":"2015-09-01T05:39:48.79123Z"}{ "log":" Did you forget to add -e MYSQL_ROOT_PASSWORD=... ?\r\n","stream":"stdout","time":"2015-09-01T05:39:48.7918263Z"}root@docker-azure:/var/lib/docker/containers/ef9301c442526fa2d7de00dfb7209221569fcc6cab2029dbae07e298572aebd0# ``````root@docker-azure:~# docker start ff3e88f5ea8cError response from daemon: Cannot start container ff3e88f5ea8c: invalid ulimit nameError: failed to start containers: [ff3e88f5ea8c]root@docker-azure:~# 去掉配置项"Ulimits": [{}],``````root@docker-azure:~# docker start 92a955bdf463Error response from daemon: Cannot start container 92a955bdf463: [8] System error: write /sys/fs/cgroup/cpuset/docker/92a955bdf463011c6fdee94e251faaf08c99a6a4146b0ec70827e0866720993c/cpuset.mems: invalid argumentError: failed to start containers: [92a955bdf463]root@docker-azure:~# exit修改"CpusetCpus": "","CpusetMems": "",``````kaiming@docker-azure:~$ sudo docker start 8bb5f03f9ff7Error response from daemon: Cannot start container 8bb5f03f9ff7: [8] System error: exec: "": executable file not found in $PATHError: failed to start containers: [8bb5f03f9ff7]kaiming@docker-azure:~$ ```