Git Product home page Git Product logo

Comments (4)

machbio avatar machbio commented on September 26, 2024

Ran into the Same issue on a Ubuntu machine too

Containers: 10
Images: 68
Storage Driver: aufs
Root Dir: /srv/docker/aufs
Backing Filesystem: extfs
Dirs: 88
Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-63-generic
Operating System: elementary OS Luna
CPUs: 4
Total Memory: 7.528 GiB

recommendation_1 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f643ed60000, 262144, 0) failed; error='Cannot allocate memory' (errno=12)

from spring-cloud-microservice-example.

kbastani avatar kbastani commented on September 26, 2024

Thanks, can you try replacing the docker-compose.yml file in spring-boot-microservice-example/docker with the following? https://gist.github.com/kbastani/ebf403f4a5e1406742df

Also, make sure that when you initialize boot2docker to use the command: boot2docker init --memory=5000

This should fix both your issues. Please let me know how it goes.

from spring-cloud-microservice-example.

machbio avatar machbio commented on September 26, 2024

Its working now.

I have no experience with Eureka, but I am not able to understand why the Status field under "Instances currently registered with Eureka"

screen shot 2015-09-10 at 1 56 41 pm

Why are the links to the instances not work?

from spring-cloud-microservice-example.

kbastani avatar kbastani commented on September 26, 2024

The links to the instances aren't working because the route needs to be added. Those IPs are local and not exposed on the host using Docker.

For the IP only addresses, you can access them by adding the following route:

$ sudo route add -net 172.17.0.0/16 $(boot2docker ip 2> /dev/null)

from spring-cloud-microservice-example.

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.