搜索结果

使用dockerfile 创建apache 镜像的时候将本地run.sh 文件复制到容器中,然后最后用cmd /run.sh 运行脚本。脚本中写的是:/bin/bash exec apache2 -d foreground 将apache 搁置在 docker前台运行,防止其自动退出。然后生成镜像,使用: dockerrun -d -p apache:dockerfile 结果容器启动后自动退出,这是怎么回事呢?实验室参照 docker入门与实战第三版apache 的实
2019-08-21

求助

docker容器中使用bufferedimage bi imageio.read bais 会导致容器崩溃,求解答用一个centos7 oraclejdk1.8 的镜像,里面跑着java 程序,每次调用imageio.read 都会使容器崩溃,同样的代码放到linux 上就没 问题,求解答
如题,请教各位大大,如果我在无网络的情况下,如何使用dockerfile 构建基于centos7 的mongodb 镜像?因为dockerfile 第一句必须是from... 但是我在生产环境下安装好 docker后,首先无网络,不能从 dockerhub 拉取centos 或者mongodb 镜像,请教各位大大如何解决?
1 、基础镜像使用的是centos:6 2 、dockerfile 如下:------------------------------------------------------------------------------------------------------------------------------------------------------------------ source images from centos:6 author maintainer foucs.shi outlook.com repo run curl -o /etc/yum.repos.d/centos-base.repo http://mirrors.aliyun.com/repo/centos-6.repo & & yum makecache install run yum -y install samba port expose 139 service cmd /usr/sbin/smbd -d --------------------------------------------------------------------------------------------------------------------------------------------------------------------- 3 、运行镜像 dockerrun -d -p 139:139 smbc6:latest 1576bb2c1d2c9ffcbd2f814ddcc29b79ab94b27aeccbb119727e81b692868a39 4 、 dockerps -a 查看容器状态为status exited dockerps -a grep smbc6 1576bb2c1d2c smbc6:latest /usr/sbin/smbd -d 23 seconds ago exited 0 20 seconds ago
按照网上的教程安装了mysql 和redmine 的镜像并启动了容器,但redmine 一直无法启动,也看了网上的说法,在 dockerrun 时用-dit 参数,而不要-d ,要变成交互式的,但还是不行,无法启动,即便不增 -d 参数,容器以前台运行,也是一样的,redmine 启动后就退出,不知 路大神 解决办法,谢谢
dockerversion 17.03.2-ce 我们现在运行在swarm 集群下我通过stacks 创建是一个service  ports:          - 9090:9090      networks:          - monitor-overlaynetworks:  monitor-overlay:      external: true 按理说在绑定在tcp6            0          0 :::9090                               ::: 但是现在tcp              0          0 127.0.0.1:9090                  0.0.0.0: 容器现在是运行在192.168.0.238 上面
win10 安装了dockertoolbox 打开 dockerquickstart terminal 时报错:starting default ... default check network to re-create if needed... default windows might ask for the permission to configure a dhcp server. sometimes such confirmation window is minimized in the taskbar.unable to start the vm: c: program files oracle virtualbox vboxmanage.exe startvm default --type headless failed:vboxmanage.exe: error: failed to open/create the internal network hostinterfacenetworking-virtualbox host-only ethernet adapter 3 verrintnetfltifnotfound .vboxmanage.exe: error: failed to attach the network lun verrintnetfltifnotfound vboxmanage.exe: error: details: code efail 0x80004005 component consolewrap interface iconsoledetails: 00:00:02.088349 power up failed vrc verrintnetfltifnotfound rc efail 0x80004005 looks like something went wrong in step checking status on default ... press any key to continue... 这个
用cmd 打开 dockerversion 时,回复无法读取ca 证书,系统找不到指定文件,要怎么解决呢?
为何我的cache 文件夹加入了boot2docker.iso 后启动 docker终端后还是显示无法寻找到本地的boot2 docker文件。弟弟我是个新人,希望各位哥哥们帮忙
迎转载。转载请注明:转载自it 人故事会,谢谢!原文链接地址:『中级篇』ci/cd 持续集成/ 持续部署(69 )从这次课就开始学习ci/cd ,结合 docker或者是使用k8s 来完成。cicd 的理解cicd 是一个整套流程的解决方案,光依靠 docker和k8s 是完全不行的,中间涉及到很多cicd 的工具,ci 的服务器。
59/71
为您找到相关结果707个,耗时1秒