Tag: centos

AWS EC2(RHEL)上的Docker安装不起作用

我正在尝试在具有RHEL 7.3的AWS EC2实例上安装Docker。 我得到 – ec2-user @ ip-172-31-14-68:〜$ sudo yum install -y docker加载的插件:amazon-id,rhui-lb,search-disabled-repos没有包装docker可用。 错误:无事可做 然后我在网站上查找,发现RHEL不支持Docker Community Edition。 https://docs.docker.com/engine/installation/linux/docker-ee/rhel/ 它支持什么操作系统? Ubuntu,CentOS? 谢谢

使用Docker工具(Kinematic)安装本地Windows驱动器以基于Centos映像

我对docker工人是非常新的,我正在尝试使用Windows 7将我的应用程序安装在泊坞窗容器上。我正在使用运动控件。 第一步:我可以使用docker hello-world从kinematic提供的powershell。 第二步:我把docker centos:Docker的最新镜像。 我可以运行它。 第3步:我的Windows机器上有一些文件,我想移动到centos docker,这就是为什么在centos中尝试挂载“C:\ Docker_shared”到“/ opt / install”。 以下是我使用的命令 PS C:\Program Files\Docker Toolbox> docker run -it -v /C/Docker_shared:/opt/install centos:latest bash 命令执行正常,没有错误,但是当我将任何文件放在C:// Docker_shared驱动器中时,它不会在centos目录/ opt / install中显示任何文件。 将感谢您的build议。

docker工图像不能运行cent os

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 13be43ecefea 196e0ce0c9fb "/bin/bash" About an hour ago Exited (0) About an hour ago reverent_wing ff1b2744bf2c microsoft/mssql-server-linux "/bin/sh -c /opt/mssq" About an hour ago Exited (1) About an hour ago ecstatic_brattain d3504f132ddd microsoft/mssql-server-linux "/bin/sh -c /opt/mssq" 2 hours ago Exited (1) 2 hours ago compassionate_cray 我是新来的docker,我已经安装在OS 7的docker。我已经下载MSSQL和centos图像。 当我运行容器。 […]

Docker – 如何构build一个nodejs docker镜像`FROM centos:7.2.1511` docker image

1:这是我的Dockerfile上下文。 使用节点版本pipe理器 FROM centos:7.2.1511 MAINTAINER CONVERSION@JICE RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash RUN echo 'export NVM_DIR="$HOME/.nvm"' >> $HOME/.bashrc \ && echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm' >> $HOME/.bashrc \ && echo '[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # This loads nvm bash_completion' >> $HOME/.bashrc # nodejs and tools […]

初始化centos docker镜像上的postgres失败,无法获得D-Bus连接:不允许操作

我试图在Docker镜像上安装postgres,基本镜像运行centos。 我正在按照如何在CentOS 7上安装PostgreSQL关系数据库的说明进行操作,这里是我的Dockerfile: FROM our-internal-docker-registry.org/centos:7.3.1611 RUN yum install -y postgresql-server postgresql-contrib RUN postgresql-setup initdb 第一个RUN命令成功,但是第二个失败,并且: Step 3/3 : RUN postgresql-setup initdb —> Running in d26f43467aa0 Failed to get D-Bus connection: Operation not permitted failed to find PGDATA setting in postgresql.service The command '/bin/sh -c postgresql-setup initdb' returned a non-zero code: 1 我承认自己对下一步该怎么做也不知情,因为我对postgres或者linux并不熟悉。 希望得到一些build议。

docker-storage-setup软件包在我的rhel 7上不可用? 我如何得到它? 我需要使用设备映射器创build一个精简池。

我正尝试在我的rhel盒子上使用devicemapper创build一个精简池,因为这是使用docker存储的推荐方式。 但不幸的是,我无法在我的机器上find需要创build精简池的docker-storage-setup软件包。 我该怎么做呢? 首先,这是否真的需要?

无法在Docker中启动jboss主机控制器

domain controller on centos <– host machine host controller on centos <– docker 我已经在centos docker镜像上安装了jboss,并试图启动独立的服务器,该服务器以任何问题开始。 但是,当我想启动从站,并与域同步我得到如下错误: 15:57:18,045 DEBUG [org.jboss.modules] (Controller Boot Thread) Module org.jboss.as.cli:main defined by local module loader @26538d04 (finder: local module finder @374f1544 (roots: /opt/jboss-eap-6.2/modules,/opt/jboss-eap-6.2/modules/system/layers/base)) 15:57:23,477 DEBUG [org.jboss.as.host.controller] (Controller Boot Thread) failed to connect to 10.10.10.10:9999: java.net.ConnectException: JBAS012144: Could not connect to remote://10.10.10.10:9999. […]

docker上的AEM 6.0 – Dbus连接错误

我试图dockerize AEM 6.0安装,这是我的作者的Dockerfile。 from centos:latest COPY aem6.0-author-p4502.jar /AEM/aem/author/aem6.0-author-p4502.jar COPY license.properties /AEM/aem/author/license.properties RUN yum install dnsmasq -y RUN systemctl enable dnsmasq RUN yum install initscripts -y RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \ rm -f /lib/systemd/system/multi-user.target.wants/*;\ rm -f /etc/systemd/system/*.wants/*;\ rm -f /lib/systemd/system/local-fs.target.wants/*; \ rm […]

Dockerfile做一个简单的mv命令失败

在构buildJenkins图像时,dockerfile未能通过简单的mv命令将docker目录移动到/ usr / bin Building jenkins Step 1/22 : FROM jenkins:2.19.4 —> f61635651954 Step 2/22 : USER root —> Using cache —> 38328c4c60df Step 3/22 : RUN apt-get update && apt-get install -y sudo curl && rm -rf /var/lib/apt/lists/* —> Using cache —> be88e3447a62 Step 4/22 : RUN echo "jenkins ALL=NOPASSWD: ALL" >> /etc/sudoers —> […]

docker安装容器selinux挂在centos上

我有centos 7(在Xen上),我正在尝试安装最新的稳定更新。 我做的第一件事就是停止docker服务并从程序中删除旧版本 那么我已经尝试使用命令安装docker-ce(我已经添加了docker repo): sudo yum install docker-ce 从某种原因安装挂起。 命令输出: 加载的插件:最快的镜像,langpacks从caching的hostfile加载镜像速度* base:repo1.ash.innoscale.net * epel:mirror.us.leaseweb.net * extras:mirror.rackspace.com * updates:ftp.osuosl.org解决相关性还有未完成的交易。 你可以考虑运行yum-complete-transaction,或者“yum-complete-transaction –cleanup-only”和“yum history lasto last”,首先完成它们。 如果这些不起作用,你必须尝试手动删除/安装软件包(也许包清理可以帮助)。 – >正在运行事务检查—> package docker-ce.x86_64 0:17.09.0.ce-1.el7.centos将被安装 – >处理依赖:container-selinux> = 2.9 for package:docker -ce -17.09.0.ce-1.el7.centos.x86_64 – >运行事务检查—>包容器 – selinux.noarch 2:2.28-1.git85ce147.el7将被安装 – >完成的依赖关系parsing 依赖解决 ================================================== ================================================== ================================================== =========================== Package Arch 版本库 大小================================================= ================================================== […]