目 录CONTENT

文章目录

docker容器可视化管理FastOS

所念皆星河
2020-08-05 / 0 评论 / 0 点赞 / 17 阅读 / 927 字

1. 创建目录

mkdir -p /home/qigx/fast/data

2. 编写docker-compose.yaml

cd  /home/qigx/fast
vi docker-compose.yml
version: "3.0"
services:
  fastos:
    container_name: fastos
    image: wangbinxingkong/fast:latest
    restart: always
    ports:
      - "8081:8081"
      - "8082:8082"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /etc/docker/:/etc/docker/
      - /home/qigx/fast/data:/fast/data
    environment:
      - TZ="Asia/Shanghai"
      - FAST_STORE=http://8.210.124.47:8080

3. 启动容器

docker-compose up -d

4. 登入平台管理

http://服务器IP地址或域名:8081    默认账户admin: 默认密码:666666
0

评论区