MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    mirai-mcl-docker

    其他项目发布
    3
    4
    624
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gaylong9 last edited by

      mcl(mirai-console-loader)的Docker镜像。

      详细信息见项目地址 gaylong9/mirai-mcl-docker。

      由于更换服务器,需要重新部署Mirai,故借此机会创建Docker镜像方便后续使用。

      镜像使用Dockerfile构建,主要是基于openjdk 17的镜像,从iTXTech/mirai-console-loader项目处下载mcl.zip文件,解压并运行。

      搞完之后发觉一通操作下来也没简便多少,原本的MCL已经很方便了。

      不过,在旧服务器上直接运行mcl,难以ssh远程操作。关掉ssh窗口时,也会把mcl关掉。试了很久终不得法,最后是用远程桌面操作mcl后直接关掉远程桌面。虽然不会一并关掉mcl,但是很不优雅。

      有了Docker之后,就可以方便地使用ssh连接服务器操作mcl了。-d运行镜像后,关掉ssh窗口也不影响Docker容器的运行。

      1 Reply Last reply Reply Quote 0
      • D
        diyigemt last edited by

        我建议你用用 tmux 或者 screen

        G G 2 Replies Last reply Reply Quote 0
        • G
          gaylong9 @diyigemt last edited by

          @diyigemt ok,我去了解下,感谢!

          1 Reply Last reply Reply Quote 0
          • G
            greenhandzdl 摸鱼 @diyigemt last edited by

            @diyigemt 其实&挂起也行,还有nohup

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact