Git Product home page Git Product logo

microclimate-release's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

microclimate-release's Issues

Want to run Microclimate on Docker Toolbox (VirtualBox VM based) for Window system

[Background for the request]
as Microclimate version 18.04, Local install option for Windows system currently supports only
"Docker for Windows" (Hyper-V based) and Windows 10 / Windows Server 2016.

If Microclimate provides support for Local install option on Docker Toolbox (VirtualBox based), the following developers can also use the Microclimate.

  • Windows 7 users
  • Windows 10 users who does not want Hyber-V enabled (to avoid conflict with other virtualization mechanism such as VMware / VirtualBox).

[Changes need to implement]
The major difference between Docker Toolbox and Docker for Windows is, the Docker Toolbox runs Linux VM on the host machine with the local IP address (192.168.99.100 by default setting) and docker container network will bound on the IP, whereas the Docker for Windows binds docker container network directly onto the host Windows system.
Since the Microclimate statically binds the containers on specific IP address "127.0.0.1", Docker Toolbox users cannot access the Microclimate portal application even if the user tries to the app using the URL http://192.168.99.100:9090/.

To make work the Microclimate on Docker Toolbox box, following change will be required on the Microclimate code.

  • remove "127.0.0.1" host restriction for ports definition of "microclimate-portal" container in the "docker-compose.yaml"
    e.g.
    "127.0.0.1:9090:9090" -> "9090:9090"

  • remove "127.0.0.1" host restriction for "microclimate-theia", "microclimate-file-watcher" containers, which the "microclimate-portal" container starts at runtime. (within "containers.js" nodejs file in microclimate-portal).
    e.g.
    newContainer.PortBindings[${editorPort}/tcp] = [{
    HostIp: 127.0.0.1, -> '0.0.0.0'

  • add option to specify the host IP address of docker container in "cli/mcdev.ps1".
    e,.g. "http://localhost:$portal_port" -> "http://${portal_host}:${portal_port}"

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.