Tag: openshift起源

无法将docker映像推送到Openshift Origin Dockerregistry

我试图部署一个我通过Openshift创build的docker镜像。 我遵循的指示: http : //www.opensourcerers.org/importing-an-external-docker-image-into-red-hat-openshift-v3/ 然而,正如我试图推动我的docker图像到Openshiftregistry,它没有成功,如下所示 [root @ mymachine〜]#docker push 172.30.155.111:5000/default/mycostumedaemon 推送是指一个存储库[172.30.155.111:5000/default/mycostumedaemon] 0a4a35d557a6:准备 025eba1692ec:准备 5332a889b228:准备 e7b287e8074b:等待 149636c85012:等待 f96222d75c55:等待 没有基本的身份validation凭据 以下是docker版本和openshift版本: [root @ mymachine〜]#docker –version Docker版本1.11.0,构build4dc5990 [root @ mymachine〜]#oc版本 oc v1.2.0 kubernetes v1.2.0-36-g4a3f9c5 有人能帮我解决这个问题吗? 由于openshift用户和服务器用户是具有所有权限的root用户,因此不清楚“ 没有基本的authentication凭证 ”是什么意思。

该吊舱的Openshift事件表是空的

昨天在我的Openshift Origin环境中,有一个容器重启了一些容器。 但是今天当我检查为什么这些重新启动时,我去看特定吊舱的事件。 我看到的只是一张空桌子。 为什么这样? oc v3.6.0-alpha.1+46942ad kubernetes v1.5.2+43a9be4 features: Basic-Auth GSSAPI Kerberos SPNEGO Server <server> openshift v1.4.1 kubernetes v1.4.0+776c994

如何在Jboss EAP openshift镜像上设置Classpath

使用的图片: https : //access.redhat.com/containers/#/registry.access.redhat.com/jboss-eap-7/eap70-openshift 我可以设置一个ENVvariables,但它不起作用。 Dockerfile: FROM registry.access.redhat.com/jboss-eap-7/eap70-openshift ENV CLASSPATH $CLASSPATH:/opt/eap/standalone/lib/required_libs/fscontext.jar 它设置这个variables,但我仍然得到以下exception, Caused by: java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory from [Module "org.jboss.as.naming:main" from local module loader @b97c004 (finder: local module finder @4590c9c3 (roots: /opt/eap/modules,/opt/eap/modules/system/layers/openshift,/opt/eap/modules/system/layers/base/.overlays/layer-base-jboss-eap-7.0.6.CP,/opt/eap/modules/system/layers/base,/opt/eap/modules/system/add-ons/keycloak))] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:113) 在容器中设置classpath也不起作用。 寻找设置一个类似于下面的java进程的类path: [root@9a290d7939bb ~]# ps -ef | grep java […]

PostgreSQL的docker映像和部署策略

为什么在Recrate上为PostgreSQL设置默认策略? 我可以将它设置为滚动,还是可能会在数据库中创build一些不一致?

获取Openshift 3容器安装numpy和scipy

我在Openshift 3 Starter中有一个可以工作的Pod部署。 这是基于来自Docker镜像的图像stream。 但是,我不能用内置的S2I来搭buildOpenshift。 Docker选项不好,因为我无法在任何位置find设置来更新Image Stream并导致重新部署。 我试图设置它,以便webhook会触发一个Openshift构build,但服务器需要python 3与numpy和scipy,这使得构build卡住。 我能做的最好的方式是根据requirements.txt ,通过setup.py ,不经意间获得一个Python 3盒式安装numpy,但是这仍然陷入困境。 我有一个工作webhook去一个不同的应用程序,运行在基本上相同的布局栏的要求(Python3金字塔与女服务员)。 Github: https : //github.com/matteoferla/pedel2 Docker: https : //hub.docker.com/r/matteoferla/pedel2/ Openshift: http ://pedel2-git-matteo-ferla.a3c1.starter-us-west-1.openshiftapps.com 更新我已经做了一个Openshift金字塔初学者模板。

我如何在Openshift中运行cron作业?

我在Openshift有一个docker集装箱,这个docker有一个弹簧启动微服务,我只想每X分钟执行一次。 我如何使用Openshift做到这一点? 我不知道如何创build一个cron作业或类似的function来每X分钟启动一次这个微服务。 谢谢!

使用容器和Openshift在Windows上运行的IBM MQ,.NET 2 / 3.5应用程序

我们在Windows上运行IBM MQ版本7和.NET 2 / 3.5应用程序。 是否有可能在Openshift或类似的开源云平台上托pipeWindows容器?

如何正确启动OpenShift v3应用程序

正如我试图用这个命令启动一个示例OpenShift v 3(Docker / Kubernetes)应用程序: _output/local/go/bin/osc create -f examples/hello-openshift/hello-pod.json 我得到这个错误: Post https://localhost:8443/api/v1beta2/pods?namespace=default: x509: certificate signed by unknown authority 这也被这个消息所证实: http: TLS handshake error from 127.0.0.1:58393: remote error: bad certificate 为了做这个工作,我需要做些什么调整?

从公共registry导入Docker镜像到OpenShift

我试图在OpenShift Online(下一代)上从这里部署一个Ubuntu镜像。 这是我遵循的步骤 $ oc new-project test $ oc new-app jedisct1/phusion-baseimage-latest I then deployed from the WebConsole 但是,我得到一个失败的部署和错误状态的“图像退出”在pod页面上。 我可能做的任何特定的事情都是错误的? 以下是整个过程的日志。 root@home:~# oc new-project test Now using project "test" on server "https://api.preview.openshift.com:443". You can add applications to this project with the 'new-app' command. For example, try: $ oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-hello-world.git to build a new hello-world application […]

OpenShift和持久的Redisconfiguration

我在OpenShift安装中成功部署了Redis(持久)映像。 现在我想坚持Redisconfiguration,并且遵循了这个指示。 但是,Redis是在容器内使用此命令启动的: /opt/rh/rh-redis32/root/usr/bin/redis-server *:6379 我发现它应该以第一个参数作为configuration文件的path启动,以便在启动时进行自我configuration。 我怎样才能在OpenShift中实现这一点?