Code Monkey home page Code Monkey logo

Comments (4)

wolfechen007 avatar wolfechen007 commented on May 26, 2024

可以,不过需要在centos上设置Docker暴露接口到centos上,可以查看博客http://blog.csdn.net/one_clouder/article/details/39224767,我就是查看这个博客解决的,如:暴露Docker的11000端口:docker run -d -p 127.0.0.1:11000:11000/udp cluster
另外需要在winodws上设置hosts文件的映射,映射如下:
192.168.43.172 hadoop-master
192.168.43.172 mysql
192.168.43.172 hadoop-slave1
192.168.43.172 hadoop-slave2
注意:这里的192.168.43.172是centos的IP

from easyml.

linxiaolicnic avatar linxiaolicnic commented on May 26, 2024

多谢大侠指教!!!

from easyml.

lilyturf2017 avatar lilyturf2017 commented on May 26, 2024

您好,是不是用到的端口都需要暴露?您能把您用到的命令共享下吗?

from easyml.

sinllychen avatar sinllychen commented on May 26, 2024

@lilyturf2017 docker容器启动的端口映射的命令在EML.zip包里面的 run_container.sh 这个脚本里面。

from easyml.

Related Issues (20)

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.