广交好友~~ 想要讨论的可以留下msn~~~
希望群友网友经常能提出问题,一起解决,共同提高
收藏同事收集的,最新虚拟机+自动化技术,docker
上一篇 /
下一篇 2014-03-05 18:47:35
/ 个人分类:Selenium
docker desktop for ubuntu
Overview
* Centos 6 x86_64 : docker service
* Ubuntu 12.10 : docker container
* My computer is Mac OS 10.9
SoftWare
1.VBox
2.CentOS 6 X86_64 system images
3.XQuartz
4.Xpra
Centos configure
/etc/init.d/iptables stop
yum -y install epel-release-6-8.noarch
yum -y install docker-io
open net.ipv4.forward = 1
/etc/init.d/docker start
chkconfig docker on
docker run -i -t ubuntu /bin/bash # this command will download ubuntu filesystem
Container configure
now we will get filesystem for desktop
docker build -t lairdnote/docker-desktop git://github.com/rogaha/docker-desktop.git
this command will use ubuntu 12.10 base system then install more software for Xwindow
now we run some command for docker look find some log
docker images
docker ps
Start desktop container
- - -
print this container password
echo $(docker logs $CONTAINER_ID | sed -n 1p)
container port forward to localhost other port
docker port $CONTAINER_ID 22
if not print error log , please login container
ssh -p 49153 docker@[centos ip]
the port 49153 just for my system
login seccess
.-
Mac OS
* install XQuartz
* install Xpar
run command in item
. -- - [ ]
收藏
举报
TAG: