随笔分类 -  docker

摘要:docker container中gdb调试程序,报错: Attaching to process 29139 Could not attach to process. If your uid matches the uid of the target process, check the sett 阅读全文
posted @ 2018-09-13 20:03 Entropy_lxl 阅读(51) 评论(0) 推荐(0) 编辑
摘要:k8s pod挂载pvc,pvc通过pv连接了glusterfs。 pod一直处于creating状态,kubectl descibe pod 显示如下错误: 注:pod在机器node-2(172.16.1.2)上。 describe pod看不到有用的错误信息, 手动执行 报错: 检查命令中用到的 阅读全文
posted @ 2018-05-30 17:53 Entropy_lxl 阅读(508) 评论(0) 推荐(0) 编辑
摘要:pod一直处于ContainerCreating状态, kubectl describe pod 看到报错Failed create pod sandbox 查看kubelet的日志,发现 Apr 27 16:14:00 t.com kubelet[34090]: E0427 16:14:00.32 阅读全文
posted @ 2018-04-27 16:23 Entropy_lxl 阅读(2451) 评论(0) 推荐(0) 编辑
摘要:先yum install安装如下包: container-selinux-2.21-1.el7.noarch libcgroup-0.41-13.el7.x86_64 libtool-ltdl-2.4.2-22.el7_3.x86_64 libseccomp-2.3.1-3.el7.x86_64 然 阅读全文
posted @ 2017-09-14 18:57 Entropy_lxl 阅读(536) 评论(0) 推荐(0) 编辑
摘要:背景: node1不能访问外网, node2可以访问外网,node1通过node2的代理服务来访问外网。 1. node1不能访问外网 注释掉DNS配置文件 2. node2搭建代理服务器, 这里是在centos7.2上用Squid搭建HTTP代理服务器 [如果已经有其他代理服务器,可以忽略这步] 阅读全文
posted @ 2017-08-29 16:38 Entropy_lxl 阅读(13818) 评论(1) 推荐(0) 编辑
摘要:前提: 系统centos 7 docker version 1.10.3 使用systemd启动docker 访问方式: 修改/usr/lib/systemd/system/docker.service中的ExecStart,添加host " -H tcp://0.0.0.0:1234 " Exec 阅读全文
posted @ 2017-03-05 20:32 Entropy_lxl 阅读(2513) 评论(0) 推荐(0) 编辑
摘要:1. 修改container 1.1 执行 查看目前的所有images: REPOSITORY TAG IMAGE ID CREATED SIZEgenc live 95ed4f9b6d6f 7 months ago 377.4 MBregis 2.4.1 75ff0430d99d 8 months 阅读全文
posted @ 2017-02-06 19:55 Entropy_lxl 阅读(5198) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示