基于docker的gitlab搭建
### 一、准备docker容器环境
1. 下载docker ubuntu镜像
1 | shell>> docker pull ubuntu |
2. 启动ubuntu镜像并更新
1 | shell>> docker run -it docker.io/ubuntu |
### 一、准备docker容器环境
1 | shell>> docker pull ubuntu |
1 | shell>> docker run -it docker.io/ubuntu |
参考网址:https://docs.docker.com/articles/networking/1
2
3
4$ sudo service docker stop
$ sudo ip link set dev docker0 down
$ sudo brctl delbr docker0
$ sudo iptables -t nat -F POSTROUTING