
# 镜像保存时报错"there are processes in 'D' status, please check process status using 'ps -aux' and kill all the 'D' status processes"或"Buildimge,False,Error response from daemon，Cannot pause container xxx"如何解决？
#### 问题现象
- 在Notebook里保存镜像时报错"there are processes in 'D' status, please check process status using 'ps -aux' and kill all the 'D' status processes"。
- 在Notebook里保存镜像时报错"Buildimge,False,Error response from daemon: Cannot pause container xxx"。
 
#### 原因分析
执行镜像保存时，Notebook中存在状态为D的进程，会导致镜像保存失败。
#### 解决方案
1. 在Terminal里执行**ps -aux** 命令检查进程。
   ![](https://support.huaweicloud.com/trouble-modelarts/figure/zh-cn_image_0000001665634077.png "点击放大")
   
2. 执行**kill -9 \<pid\>**命令将相关进程结束后，再次执行镜像保存即可。
 
