Docker-compose

安装Docker-compose
1.安装pip

# wget https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py 
# python get-pip.py

2.安装compose

# pip install docker-compose

3.测试案例

下载测试代码

# git clone https://github.com/jiekechoo/docker-haproxy

运行

# cd docker-haproxy 
# docker-compose up

浏览器打开本机IP:http://192.168.1.230

results matching ""

    No results matching ""