logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

docker使用遇到的问题

docker pull 报:failed to register layer: Error processing tar file(exit status 1): write /usr/lib64/libclangFrontend.a: no space left on device处理方法,参考:https://www.jianshu.com/p/8239d32f19e6

docker保证容器持续运行

镜像在远端执行的时候,无法持续运行导致程序运行失败判断容器能不能持续运行可以用命令试一下:docker run --net=host jqtest1可以持续运行的容器:不能持续运行的容器:尝试在Dockerfile文件中加了CMD tail -f name.txtCMD topCMD top -d 10均不能持续运行顺便了解到CMD和RUN的区别:RUN主要用于镜像构建(build)的时候,CMD

到底了