Git Product home page Git Product logo

mcsm-docker's Introduction

运行

直接使用宿主网络

docker run --name=mcsm -it -d -v <host_ptah>:/opt/mcsmanager --net="host" efsg/mcsm-docker:jre8

端口映射

默认Web端口为23333,可用-p映射容器的端口
docker run --name=mcsm -it -d -v <host_ptah>:/opt/mcsmanager -p 23333:23333 -p 25565:25565 -p 25566:25566 efsg/mcsm-docker:jre8

如果是高版本服务端,使用JRE17镜像 efsg/mcsm-docker:jre17

变量:

参数 说明
--name=mcsm 容器名
-p 23333:23333 Web访问端口
-net="host" 直接使用宿主网络
-v <宿主机目录>:/opt/mcsmanager 面板文件

构建

git clone https://github.com/efsg/mcsm-docker.git
cd mcsm-docker
docker build docker build . -t mcsm_docker:latest

Credit

脚本参考自 https://github.com/vinanrra/Docker-7DaysToDie

mcsm-docker's People

Contributors

smolder3955 avatar xhebox avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.