首页 文章 精选 留言 我的

精选列表

搜索[容器配置],共10000篇文章
优秀的个人博客,低调大师

《开源容器云OpenShift:构建基于Kubernetes的企业应用云平台》一导读

前 言 云起之时开源有道我仍然记得,在2000年年初,国内软件开发领域最热门的操作系统、语言、开发工具、数据库等基本上都是大型商业公司的产品。那时Linux已经存在,但是还不算主流。在我所工作的网络中心中,大部分服务器使用的是Windows Server或者Sun Solaris操作系统。市场上需求最火爆的开发平台是Visual C++、Visual Basic和已经基本消失不见的Delphi。然而17年后的今天,当再次审视当前所处的环境时,我们会惊讶地发现,开源社区的产品已然出现在各个领域:从操作系统、开发工具、编程语言,到中间件、数据库,再到虚拟化、基础架构云、应用平台云等。可以说当前的时代是名副其实的开源的时代,企业可以通过开源社区的创新构建一个完全开源的企业架构堆栈。经过前几年云计算变革的推进,OpenStack目前已经成为

优秀的个人博客,低调大师

的处理基本都是容器满了

27 15:15:34 localhost docker-storage-setup: Volume group "centos" has insufficient free space (0 extents): 66 required. Apr 27 15:15:34 localhost systemd: docker-storage-setup.service: main process exited, code=exited, status=5/NOTINSTALLED Apr 27 15:15:34 localhost systemd: Failed to start Docker Storage Setup. Apr 27 15:15:34 localhost systemd: Unit docker-storage-setup.service entered failed state. Apr 27 15:15:34 localhost systemd: docker-storage-setup.service failed. Apr 27 15:15:34 localhost systemd: Starting Docker Application Container Engine... Apr 27 15:15:34 localhost journal: Forwarding stdin to journald using Priority Informational and tag docker Apr 27 15:15:35 localhost kernel: loop: module loaded Apr 27 15:15:38 localhost journal: time="2016-04-27T15:15:38.376521502+08:00" level=warning msg="Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or use `man docker` to refer to dm.thinpooldev section." Apr 27 15:15:38 localhost systemd: Device dev-disk-by\x2duuid-81caf5ff\x2dd883\x2d45a2\x2db20c\x2d31a41d07ad2c.device appeared twice with different sysfs paths /sys/devices/virtual/block/loop0 and /sys/devices/virtual/block/dm-4 Apr 27 15:15:38 localhost journal: time="2016-04-27T15:15:38.571170482+08:00" level=info msg="[graphdriver] using prior storage driver \"devicemapper\"" Apr 27 15:15:38 localhost journal: time="2016-04-27T15:15:38.572029145+08:00" level=warning msg="Docker could not enable SELinux on the host system" Apr 27 15:15:46 localhost kernel: Bridge firewalling registered Apr 27 15:15:46 localhost journal: time="2016-04-27T15:15:46.069579911+08:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module br_netfilter not found.\ninsmod /lib/modules/3.10.0-229.4.2.el7.x86_64/kernel/net/llc/llc.ko \ninsmod /lib/modules/3.10.0-229.4.2.el7.x86_64/kernel/net/802/stp.ko \ninsmod /lib/modules/3.10.0-229.4.2.el7.x86_64/kernel/net/bridge/bridge.ko \n, error: exit status 1" Apr 27 15:15:46 localhost kernel: nf_conntrack version 0.5.0 (16384 buckets, 65536 max) Apr 27 15:15:46 localhost journal: time="2016-04-27T15:15:46.118260335+08:00" level=info msg="Firewalld running: false" Apr 27 15:15:46 localhost journal: time="2016-04-27T15:15:46.366809062+08:00" level=fatal msg="Error starting daemon: Error initializing network controller: could not delete the default bridge network: network bridge has active endpoints" Apr 27 15:15:46 localhost systemd: Started Docker Application Container Engine. Apr 27 15:16:01 localhost systemd: Started Session 9 of user root. Apr 27 15:16:01 localhost systemd: Starting Session 9 of user root. Apr 27 15:17:01 localhost systemd: Started Session 10 of user root. Apr 27 15:17:01 localhost systemd: Starting Session 10 of user root. Apr 27 15:18:01 localhost systemd: Started Session 11 of user root. Apr 27 15:18:01 localhost systemd: Starting Session 11 of user root. Apr 27 15:19:01 localhost systemd: Started Session 12 of user root. Apr 27 15:19:01 localhost systemd: Starting Session 12 of user root. Apr 27 15:20:01 localhost systemd: Started Session 13 of user root. Apr 27 15:20:01 localhost systemd: Starting Session 13 of user root. Apr 27 15:20:18 localhost systemd: Starting Docker Storage Setup... Apr 27 15:20:18 localhost docker-storage-setup: Rounding up size to full physical extent 264.00 MiB Apr 27 15:20:18 localhost docker-storage-setup: Volume group "centos" has insufficient free space (0 extents): 66 required. Apr 27 15:20:18 localhost systemd: docker-storage-setup.service: main process exited, code=exited, status=5/NOTINSTALLED Apr 27 15:20:18 localhost systemd: Failed to start Docker Storage Setup. Apr 27 15:20:18 localhost systemd: Unit docker-storage-setup.service entered failed state. Apr 27 15:20:18 localhost systemd: docker-storage-setup.service failed. OPTIONS='--selinux-enabled=false --graph=/home/lib/docker' 解决,但是没有以前的镜像文件了 ------------------------------------------------------------------------------ cd /var/lib sudo cp -rf docker docker.bak sudo cp -rf docker /<my_new_location>/ sudo ln -s /<my_new_location>/docker docker sudo /etc/init.d/docker start 5、docker无法启动,原因有可能磁盘不够,或者没有解析到。 Nov 19 20:29:36 centos7 systemd: Starting Docker Storage Setup... Nov 19 20:29:36 centos7 docker-storage-setup: Rounding up size to full physical extent 32.00 MiB Nov 19 20:29:36 centos7 docker-storage-setup: Volume group "centos_centos7" has insufficient free space (0 extents): 8 required. Nov 19 20:29:36 centos7 systemd: docker-storage-setup.service: main process exited, code=exited, status=5/NOTINSSTALLED Nov 19 20:29:36 centos7 systemd: Failed to start Docker Storage Setup. Nov 19 20:29:36 centos7 systemd: Unit docker-storage-setup.service entered failed state. Nov 19 20:29:36 centos7 systemd: Starting Docker Application Container Engine... Nov 19 20:29:36 centos7 docker: time="2015-11-19T20:29:36.538243264+08:00" level=info msg="Listening for HTTP on unix (/var/run/docker.sock)" Nov 19 20:29:36 centos7 docker: time="2015-11-19T20:29:36.540394247+08:00" level=error msg="WARNING: No --storage-opt dm.thinpooldev specified, using loopback; this configuration is strongly discouraged for production use" 解决办法: 增加vg容量,重启机器试试 不行就删除 /usr/lib/systemd/system/docker.service 里的DOCKER_STORAGE_OPTIONS systemctl daemon-reload systemctl restart docker.service 6、还是无法启动docker,原因可能为docker没有识别到正常的thinpooldev,需要手动指定 Error starting daemon: error initializing graphdriver: EOF /usr/bin/docker daemon --selinux-enabled --storage-driver devicemapper --storage-opt dm.fs=xfs --storage-opt dm.thinpooldev=/dev/mapper/centos_centos7-docker--pool-tpool 解决办法: https://gist.github.com/joshix/ec1673f2791bf5cb352f#file-thin-pool-md dmsetup status 找到tpool结尾的那行,比如centos_centos7-docker--pool-tpool 修改文件 vim /etc/sysconfig/docker-storage DOCKER_STORAGE_OPTIONS=--storage-driver devicemapper --storage-opt dm.fs=xfs --storage-opt dm.thinpooldev=/dev/mapper/centos_centos7-docker--pool-tpool 重启 systemctl daemon-reload systemctl restart docker.service

资源下载

更多资源
腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册