MacOS with Docker for Mac[使用oc cluster up 安装openshift origin]
来源:互联网 发布:阿里云服务器怎样退款 编辑:程序博客网 时间:2024/06/07 00:39
Install Docker for Mac making sure you meet theprerequisites.
Once Docker is running, add an insecure registry of
172.30.0.0/16
:- From the Docker menu in the toolbar, select
Preferences...
- Click on
Daemon
in the preferences dialog (note: on some older versions of Docker for Mac this is underAdvanced
) - Under
Insecure registries:
, click on the+
icon to add a new entry - Enter
172.30.0.0/16
and pressreturn
- Click on
Apply and Restart
- From the Docker menu in the toolbar, select
Install
socat
- If not already installed, install Homebrew for Mac
- Install socatOpen Terminal and run:
$ brew install socat
Install the oc binary using homebrew with:
brew install openshift-cli
OR
Download the Mac OS
oc
binary from openshift-origin-client-tools-VERSION-mac.zip and place it in your path.Please be aware that the 'oc cluster' set of commands are only available in the 1.3+ or newer releases.
Open Terminal and run
$ oc cluster up
To stop your cluster, run:
$ oc cluster down
根据官方文档编写:
1:先安装Docker For Mac. 具体如何安装,请查看上一篇博客
2:配置Docker文件,我的配置如下:
3:Install socat
如果brew命令不能用,请安装:
brew是什么? 是在Mac OSX系统上操作软件包管理工具
同样的:Linux 中Red Hat 使用yum,Ubuntu使用apt-get,Mac OSX中就使用brew了。
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
将以上命令粘贴至终端然后,再安装:
brew install socat
4:安装OC命令:
brew install openshift-cli
5:启动cluster
参考地址:
https://www.openshift.com/devpreview/register.html
- MacOS with Docker for Mac[使用oc cluster up 安装openshift origin]
- oc cluster up 中docker 设置
- openshift origin v1.5.0安装
- docker for mac 安装
- 在MacPro上安装 openshift origin
- Docker for MacOS
- Docker for Mac 安装及Mysql安装使用
- [Openshift Origin 3]OpenShift 3 : 基于Docker的私有PaaS平台
- MacOS安装Docker
- Mac 安装运行 Docker for Mac
- Openshift 安装使用教程
- [docker]Mac 下安装使用docker
- Mac OS安装使用docker
- cockpit on openshift origin
- OpenShift Origin 排错
- openshift/origin学习记录(0)——Ansible安装多节点openshift集群
- Setting up SSH for a Hadoop cluster
- Openshift Origin开发日记 1
- 给nginx配置https服务器并反向代理php
- JQuery load()方法
- iOS中 最新微信支付/最全的微信支付教程详解
- Qt5.7.1 树莓派3B+ 2016-09-23-raspbian-jessie.img 交叉编译 ubuntu16.04
- locate命令
- MacOS with Docker for Mac[使用oc cluster up 安装openshift origin]
- [Record] Draw a Cube with Unity3D via Creat an object,get Mesh,set Mesh and Render Mesh
- Linux安装mysql.tomcat.jdk
- 面向对象的特征
- 森林的双亲孩子表示法的设计与实现
- java回调机制经典例子
- 爬虫天坑系列-百度指数爬虫
- 第一次用MyEclipse写servlet遇到的问题和解决
- 如何让html页面中所有连接打开新页面