Docker安装A面板

发布于 2022-09-01  79 次阅读


之前安装了X面板,现在在客户端上安装A面板来使用它

version: '3.3'
services:
    v2raya:
        restart: always
        privileged: true
        network_mode: host
        container_name: v2raya
        environment:
            - 'V2RAYA_ADDRESS=0.0.0.0:2017'
        volumes:
            - '/lib/modules:/lib/modules'
            - '/etc/resolv.conf:/etc/resolv.conf'
            - './v2raya:/etc/v2raya'
        image: mzz2017/v2raya
  • mkdir va && cd va
  • nano docker-compose.yml
  • sudo docker-compose up -d
  • 远程桌面浏览器访问虚拟机ip:2017

医学生