Bootstrap

linux:docker attach报错you cannot attach to a restarting container wait until it is running

问题描述:

        docker attach某个进程时提示

        you cannot attach to a restarting container wait until it is running

说明:

        这个进程可能有错误,并且不断在restart

        使用docker logs xxxx 查看错误,解决后 docker ps应该可以看到其status信息应该是update xxx而不是restarting xxx

        

 

;