openshift online可以获得root权限吗 5C

最近刚注册了openshift的免费账户,按照openshift online版本文档的示例教程创建了Basic work through项目,运行起来没问题。但是在网页上看自己的终端时,发现当前容器内用户的ID不是0,是一串数字。
查了一些资料,说是cluster admin角色有root权限,但是这种免费的在线版本可以设成集群管理员吗?也看到网上说要修改SCC策略的,不知道应该怎么修改。还是创建时候就要设置好的?
可以在容器中获得root权限吗,应该怎么做呢?

2个回答

ID是初始地址,用不着修改

agentJJ
agentJJ UID不为0,不是root,好多命令执行不了
一年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
红帽发布了下一代OpenShift Online
红帽已经宣布了下一代PaaS云应用平台OpenShift Online的初步可用性。这个新版本基于OpenShift容器平台重新设计,并由Docker和Kubernetes等开源工具提供支持。\\OpenShift Online是一个多租户云应用平台,支持开发和运行基于容器的应用程序。它旨在通过提供按需模式的应用程序堆栈、自动化构建和部署应用以及简化开发过程来减少运营开销。\\实际上,Docker...
[微服务] OpenShift Online 服务部署体验
1. 注册openshift账号(要等它给我发邮件,账户才可用,等了差不多一个月。。。) 2. 登录openshift,下载客户端命令行工具并安装: 3. 在页面创建一个project: 4. copy登录命令,在CLI中登录: 5. oc status查看项目的当前状态,目前没有service在跑: 6. 使用我docker hub里的两个镜像创建两个service、跑一个网站(项目源...
openshift官方文档+OpenShift in Action.pdf
全网最低价一本一个积分, penshift官方文档.doc+OpenShift in Action.pdf
可以获得局域网ip吗?
如果几个用户用同一个公网ip上网,可以获得其的局域网ip吗?
[OpenShift] OpenShift 实践教程 (英文版)
☆ 资源说明:☆ [Packt Publishing] OpenShift 实践教程 (英文版) [Packt Publishing] Implementing OpenShift (E-Book) ☆ 图书概要:☆ A fast-paced, practical guide for using OpenShift to deploy your own open source Platform-as-a-Service Overview Discover what the cloud is, tear through the marketing jargon, and go right to the tech Understand what makes an open source Platform-as-a-Service work by learning about OpenShift architecture Deploy your own OpenShift Platform-as-a-Service cloud using DevOps orchestration and configuration management ☆ 出版信息:☆ [作者信息] Adam Miller [出版机构] Packt Publishing [出版日期] 2013年10月24日 [图书页数] 116页 [图书语言] 英语 [图书格式] PDF 格式
online你在线吗?
非常感谢online以及yinweihong帮助我一无所知的VB新手完成了一个小的工具!基本功能都已实现。但是还有几个小问题请几位帮忙完善一下(:rn问题1:我在执行脚本的时候如果正确以下代码没有问题,但是如果脚本有问题就会报错并结束程序。如何做可以做到提示检查选择的数据库以及脚本而且不会结束程序。rn比如脚本文件内容为:update GLname set seq = 3 where seq = 1 而我选择的数据库中没有“GLname”的表。系统提示错误确定后程序就结束了。rnPrivate Sub Command3_Click()rnCall Command1_ClickrnIf txtdata.Text = "" ThenrnMsgBox "请选择选择数据库!", vbCritical, "登陆提示"rntxtdata.SetFocusrnExit SubrnEnd IfrnOpen App.Path & "\" & "update.sql" For Input As #1 ' 打开输入文件。rnDo While Not EOF(1) ' 循环至文件尾。rn Input #1, sqljb ' 将数据读入变量。rnLooprnClose #1 ' 关闭文件。rnconn.Execute sqljbrnMsgBox "清除成功", vbOKOnly + vbInformation, "提醒"rnEnd Sub
用java程序 可以获得窗口句柄吗?
rnrn 请教各位大侠!rnrn java 编程可以获得windows桌面上的窗口的句柄吗?rnrn 例如,桌面上的QQ聊天窗口,或是浏览器的窗口的句柄。rnrn 应该如何实现?rnrn谢谢各位!
APK反编译可以获得XML布局文件吗?
APK反编译可以获得XML布局文件吗?rnrn看见一款软件的布局写得非常好,想看看。。。不知道反编译以后能不能获得XML文件。。。rnrn假设 APK可以反编译,没签名。。。。求方法。。。。
在这发帖子可以获得积分吗?
在这发帖子可以获得积分吗?我不懂
通过主键可以获得rownum吗
假设一个表,主键为 u_id. 通过sequence递增。rn查询的时候select ******* from ***** where u_id=? order by u_id;rn可以通过u_id 获得它的 rownum 吗?rnrnrn
jstl标签可以获得本页属性吗
比如有rn rn...rnrn和rnrnrn怎么用标签判断product的indexId和sex的值?
红帽峰会2017第一天回顾:OpenShift,OpenShift,OpenShift
2017年5月2日,第13届红帽峰会在美国波士顿举办。第一天上午的主题演讲由红帽执行副总裁兼产品和技术部门总裁 Paul Cormier 进行分享和主持,将红帽现有的全栈产品线进行了梳理。Paul Cormier 在当天下午的媒体发布会上对一些新产品发布进行了说明,简介如下:\\1、OpenShift.io 与 OpenShift Online 3 的开发者预览版发布\\OpenShift Onl...
socket系统调用需要root权限吗?
看Unix网络编程上面的tracerout程序,用了下列一个函数:traceloop,其中用如下wrap函数进行系统调用:rnrnrecvfd = Socket(pr->sasend->sa_family, SOCK_RAW, pr->icmpproto);rnrn我编译出来traceroute程序,然后试着运行,如./traceroute www.csdn.netrnrn但是,提示如下错误:socket error:Operation not permittedrn我上网搜索了一下,有可能是因为这是一个raw报文,socket系统调用产生该报文需要root权限。rnrn但是,为什么现成的linux系统上的traceroute命令不需要root权限?我需要怎么修改该程序,才能够不需要root权限也能够traceroute呢?rnrn谢谢!
Android 系统应用有root权限吗?
现在写了一个应用程序,需要通过jni操作 /dev/bus 下的usb设备,因此Android系统需要先root过,该应用程序获得root权限,才能正常工作rnrnrn这个应用程序会在一个定制的Android平板电脑上运行,所以我想问如果应用程序内置到平板电脑里作为系统应用,它能操作 /dev/bus 下的usb设备吗?
root权限
root权限
openshift安装教程
实验环境 操作系统: Centos 7 x86_64 Docker: 17.03.2-ce openshift: openshift-origin-server-v3.9.0-191fece-linux-64bit.tar 安装步骤 > Check that sysctl net.ipv4.ip_forward is set to 1. 修改 /etc/docker/daem...
OpenShift 常用命令
前言:本篇博客,为自己的记录。 1. 登录:oc login 2. 创建一个新项目:oc new-project ProjectName 创建一个项目(ProjectName新建的项目名) 3. 查看当前项目下的pod: oc get pod 4. 查看project: oc get project 5. 进入一个project: oc project projectname 6. bu
OpenShift 健康检查
一、健康检查方式在OpenShift的Deployment Config中,用户可以定义两种健康检查方式:Readiness Probe:检查应用是否已经就绪(原因是当应用刚刚开始启动的时候,应用需要进行其所依赖资源的准备工作,列如 加载class、获得数据库连接 等等),OpenShift通过检查Readiness Probe接口,只有在确认服务就绪后,才会将外界的流量转发至服务。如果检测失败之...
OpenShift for Developers
Keen to build web applications for the cloud? Get a quick hands-on introduction to OpenShift, the open source Platform as a Service (PaaS) offering from Red Hat. With this practical guide, you’ll learn the steps necessary to build, deploy, and host a complete real-world application on OpenShift without having to slog through long, detailed explanations of the technologies involved. OpenShift enables you to use Docker application containers and the Kubernetes cluster manager to automate the way you create, ship, and run applications. Through the course of the book, you’ll learn how to use OpenShift and the Wildfly application server to build and then immediately deploy a Java application online. Learn about OpenShift’s core technology, including Docker-based containers and Kubernetes Use a virtual machine with OpenShift installed and configured on your local environment Create and deploy your first application on the OpenShift platform Add language runtime dependencies and connect to a database Trigger an automatic rebuild and redeployment when you push changes to the repository Get a working environment up in minutes with application templates Use commands to check and debug your application Create and build Docker-based images for your application
Openshift 学习一(搭建Openshift环境)
目的:       搭建Linux下的Openshift环境。参考资料:       开源容器云OpenShift 构建基于Kubernetes的企业应用云平台 ,陈耿 ,P253 ,2017.06 .pdf       下载地址:https://pan.baidu.com/s/1_D1k9tJpFTGr3wdnoeh7rA环境准备:      1.Linux 64位,CentOS 7 minim...
keybox openshift
keybox openshift 上传代码
OpenShift in Action
Manning Publications 2018-05-31 300 pages OpenShift, an innovative enterprise infrastructure management system from RedHat, radically simplifies the day-to-day operation of deploying and maintaining large-scale applications. OpenShift in Action teaches readers how to set up and manage container-based infrastructure using OpenShift. Along the way, they'll discover techniques for handling persistent storage and best practices for security and other fundamental tasks.
Implementing OpenShift
Book Description A fast-paced, practical guide for using OpenShift to deploy your own open source Platform-as-a-Service Overview Discover what the cloud is, tear through the marketing jargon, and go right to the tech Understand what makes an open source Platform-as-a-Service work by learning about OpenShift architecture Deploy your own OpenShift Platform-as-a-Service cloud using DevOps orchestration and configuration management In Detail Gone are the days of having to provision hardware, deploy, and manage an entire environment just to write code for the next big idea, project, or custom web application. A Platform-as-a-Service cloud aims to fulfill this need, allowing developers to work more efficiently as well as allowing DevOps teams to spend less time fulfilling requests for these environments. Join us as we move into the future with OpenShift. Implementing OpenShift will walk the reader through how to easily develop and deploy upon an open source OpenShift Platform-as-a-Service. We will then discuss the architecture of the platform so that users have some insight into the inner workings of the environment. We will then take a step away from the user aspect and cover DevOps topics so that we can perform the deployment of our very own open source Platform-as-a-Service using the upstream OpenShift Origin code base. Developers are no longer in need of provisioning full-scale development environments by provisioning servers, installing and configuring software, and maintaining infrastructure just to write software. This book will show you how developers can move out of this archaic mindset and into the future utilizing OpenShift Platform-as-a-Service technologies, breaking away from the marketing jargon and into the technology that allows developers to get work done. This book also delves into the realm of DevOps, allowing you to run your own environment to support your development teams more efficiently. This book will show you how the OpenShift Platform-as-a-Service can redefine the way web application developers work by providing the building blocks upon which they are able to create their next big idea. From there, the reader will progress through the OpenShift architecture and on to a brisk automated deployment using DevOps technologies. You will learn everything you need to know in order to use OpenShift to develop and deploy applications in the cloud as well as how to deploy your very own OpenShift Origin-based Platform-as-a-Service cloud. What you will learn from this book Learn more about the cloud, it's different service models, and what each one means to their target audiences Master the use of OpenShift Online through the command line, web interface, and IDE integrations Understand the OpenShift architecture, breaking into how the open source Platform-as-a-Service works internally Deploy an OpenShift Origin-based Platform-as-a-Service in your own environment using DevOps automation tools Approach A standard tutorial-based approach to using OpenShift and deploying custom or pre-built web applications to the OpenShift Online cloud. Who this book is written for This book is for software developers and DevOps alike who are interested in learning how to use the OpenShift Platform-as-a-Service for developing and deploying applications, how the environment works on the back end, and how to deploy their very own open source Platform-as-a-Service based on the upstream OpenShift Origin project. Product Details Paperback: 116 pages Publisher: Packt Publishing (October 24, 2013) Language: English ISBN-10: 1782164723 ISBN-13: 978-1782164722 Product Dimensions: 9.2 x 7.5 x 0.2 inches
openshift常用命令
oc login 登录系统 oc get project 查询项目列表 oc project 切换到项目 oc get pod 查询容器列表 oc logs 查询容器日志输出 oc rsh 到容器执行命令 oc rsync : 同步文件 oc -h 查看帮助 oc edit dc 编辑dc兑现 oc delete dc 删除对象 oc new-app tomca
openshift常见问题
1 错误信息"systemd" is different from docker cgroup driver: "cgroupfs" failed to run Kubelet: failed to create kubelet: misconfiguration: kubelet cgroup driver: "systemd" is different from docker cgrou
Openshift 错误解决
环境 Oracle Linux 7.4 错误信息 failed to run Kubelet: failed to create kubelet: misconfiguration: kubelet cgroup driver: "systemd" is different from docker cgroup driver: "cgroupfs" 解决 vi /us
OpenShift in Action.pdf
When we first began developing OpenShift in Action, it was going to be a book focusing on the ops side of DevOps in OpenShift. Existing books focus on OpenShift’s devel- oper experience, and we wanted to be their counterpoint. As we continued to work on the content and look at what we wanted to teach, it became apparent that we didn’t want to be a counterpoint. We didn’t want to represent one side of anything. Instead, we decided to create a complete example of OpenShift with a strong experience for both operators and developers. OpenShift in Action takes a holistic view of OpenShift, giving equal weight to both perspectives represented in DevOps. We think this is important, because the ultimate goal of DevOps is to enable and enhance communication between developer and operations teams that historically have been placed in adversarial (at best) relationships. To accomplish this, the two authors each specialize in one of these roles. For us, writing this book has been an amazing learning experience in how DevOps can work for just about anything, includ- ing writing a book. We can’t cover every OpenShift topic in a single book. But we hope OpenShift in Action gives you the fundamental knowledge from both developer and operation per- spectives to allow you to deploy and successfully use OpenShift in your own environ- ments. We also hope you can use OpenShift to accomplish meaningful work using containers. Most important, we hope the content in this book expands your knowl- edge through hands-on experience with OpenShift and becomes a reference for you for years to come.
msdn可以online updata的吗?
rt
OpenShift 数据持久化
容器的一个特点是当容器退出后,其内部所有的数据和状态就会丢失。对于无状态应用来说这不是问题,但对于有状态的应用来说则是重要数据丢失的重大问题。OpenShift中为了满足数据持久化需求,采用了 kubernates 的 persistence volume 框架,在 kubenates 中的这个 persistence volume 子系统则为集群用户和管理员提供了一套API,这套API对底层的持...
OpenShift in Action--2018
OpenShift in Action teaches readers how to set up and manage container-based infrastructure using OpenShift. Along the way, they’ll discover techniques for handling persistent storage and best practices for security and other fundamental tasks.
online ........
int get();rnrnif( int i=get() )rn //do sth.rn因为这是个对i的初始化为get()的返回值 书上说初始化是不会有返回的rn没有返回 那怎么判断是true还是false???? ~~~~~~~~~~
Online
我遇到一个麻烦: rn例如: rn有一则留言: rn现在的网站是不是在执行“国家信息部”的什么文件啊? rn好象已经有好多学校的免费资源啊什么的都蒸发了??希望NAU不会。 rnrnrn然而由于长度限制,我想把它改成: rnrn现在的网站是不是在执行“国家信息部”的...... rnrnrn请问这段代码是什么啊 ?
可以获得鼠标点击的对象的名称吗?
我想在一个 flash 中获得当前 获得焦点的对象的名称, 只通过 ActionScript 能做到吗?rn就象图片中的那样,鼠标点击过的图片会有一个虚线的框,然后可以通过下面那些按钮对图片进行 放大(缩小),扭转等等处理。rn希望各位大侠帮帮我,谢谢了! rn刚刚找到的工作,做不好的话过不了试用期了,求求各位帮帮忙了!!!!!!!!!!
请问CMFCEditBrowseCtrl可以获得选定的文件名吗?
我可以用CMFCEditBrowseCtrl获得文件的完整路径,但是我现在需要获得这个文件的文件名,应该如何获取?rn请大虾指点。
VB可以获得本机开放的端口吗
RT,我都快晕了,网上找了很多资料,有的说要用API,有的说要用VB调用DOS命令,请问各位,有什么办法吗?如果是资料也可以给各个连接,表英文^_^
可以获得TEdit内字符串的像素个数吗!??
各位大虾好!!!用过TListView的根项编缉字符串的一定还有印像,就是当输入字符时,编缉框会随着字符串的长短自动伸缩,小弟也想实现这个动作(主要是用在编缉子项时来模仿根项的输入编缉框)。想了一段时间,前天问了一下大虾,本以为可以用GetCaretPos来实现的,哪知道没有那么简单,又得重头再想了。小弟想用获取字符串像素总数的办法来实现(因为小弟发现不是输入每一个字符像素都是一样的,有些长,有些短),小弟就是想问一下如何获取当TEdit发生变化后的字符串像素总数,若不明白请回复,小弟一般晚上在线。rnrn跪谢了!!!
可以获得一个对象被修改的时间吗
除了在这个对象中设置一个属性,以登记对象最后一次被修改的时间之外,rn在jsdk中有没有方法,直接获得这个时间呢
木马图片可以获得服务器权限吗?
木马图片可以获得服务器权限吗?
可以获得一个vector容器的句柄吗?
就是我自己定义一个vector,我可以得到它的句柄吗?rnrn
通过Invoke可以获得JavaScript定义的变量值吗?
我知道在IHTMLDocument2中,通过Invoke可以调用JavaScript函数。rn但是有办法直接获得JavaScript定义的变量值吗?rn(不要通过函数返回,我要的是直接获得在JavaScript里面定义的全局变量的值)rn
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数