本帖最后由 liang2580 于 2018-3-16 18:35 编辑
安装docker
# 启动docker
#下载镜像 链接: https://hub.docker.com/r/liang2580/bt/
启动容器
- <font color="#555555"><font face="" "=""><font style="font-size: 16px">docker run --name liang1 -p 8881:8888 -p 881:888 -p 2111:21 -p 3301:3306 liang2580/bt /bin/bash</font></font></font>
- <font color="#555555"><font face="" "=""><font style="font-size: 16px">/etc/init.d/bt start</font></font></font>
复制代码
默认账号密码:
访问
- [root@localhost ~]# curl -I <a href="http://192.168.1.188:8881" target="_blank">http://192.168.1.188:8881</a>
- HTTP/1.1 303 See Other
- Content-Type: text/html
- Location: <a href="http://192.168.1.188:8881/login" target="_blank">http://192.168.1.188:8881/login</a>
- Content-Type: text/html
- Location: <a href="http://192.168.1.188:8881/login" target="_blank">http://192.168.1.188:8881/login</a>
- Set-Cookie: BT_PANEL=0e67476543f1409cc9541048611699bdc718bf74; Path=/; httponly
- Connection: close
- Date: Fri, 16 Mar 2018 10:26:59 GMT
- Server: localhost
复制代码
|
-
|