Setup docker on OSX
来源:互联网 发布:教学质量分析软件 编辑:程序博客网 时间:2024/05/21 19:37
原文地址: http://blog.javabien.net/2014/03/03/setup-Docker-on-osx-the-no-brainer-way/
As an appetizer, here’s how I installed docker0.8.0 on OSX, the no-brainer way:
First, install Homebrew
If it’s not done already, install Homebrew. You won’t regret it. It is as simple as that:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Install Virtualbox
With Homebrew, it’s trivial to install Virtualbox which is a prerequisite to running docker on OSX:
brew updatebrew tap phinze/homebrew-caskbrew install brew-caskbrew cask install virtualbox
Install boot2docker
Boot2docker is a small script that helps download and setup a minimal Linux VM that will be in charge of running docker daemon.
brew install boot2dockerboot2docker initboot2docker upexport DOCKER_HOST=tcp://localhost:4243
Install docker
brew install dockerdocker version
Done!
More information can be found on docker’s official documentation and on boot2docker’s github. It includes, setting up port forwarding, folder sharing, explaining why we need boot2docker…
Now, enjoy!
- Setup docker on OSX
- A good setup for Perl on OSX
- Setup tftp+dhcp on Mac OSX for pxe
- How to setup multiple sites hosted on your Mac with OSX 10.8 + (MAMP Part 5)
- mac osx运行docker出现Cannot connect to the Docker daemon. Is the docker daemon running on this host?
- OSX Docker 开放端口
- Mac OSX 安装Docker
- Install tomcat7 on OSX
- OSX: Netboot on Linux
- Update GCC on OSX
- Ctags on OSX
- Installing PEAR on OSX
- use ssh on OSX
- install gem on osx
- install pip on osx
- installing MongoDB on OSX
- setuptools on OSX
- onnx on OSX
- 第四章
- Java小知识-判断字符串中有多少中文
- HyperLedger/fabric1.0.0正式版部署
- 我的服务器开发之路-windows计划任务的使用
- Vue自定义指令的使用
- Setup docker on OSX
- 软键盘弹出布局上移
- 利用栈反向打印单链表
- HUST 1010 The Minimum Length(KMP)
- mongodb远程连不上的解决方法
- 前端基本功—js第二天
- Redis常用命令
- Linux系统下安装jdk详细步骤(共两种方法)
- ubuntu 解決搜狗无法输入中文的问题