Giter Club home page Giter Club logo

zerotodocker's Introduction

zerotodocker

NetflixOSS Lifecycle

Zero To Docker is a project to help accelerate the evaluation of [NetflixOSS] (http://netflix.github.io).

The Docker images created are [not intended to be used in production as is] (https://github.com/Netflix-Skunkworks/zerotodocker/wiki/Not-Production). The Docker images created are to allow for easier evaluation of the various NetflixOSS technologies, similar to many other published open source Docker images. Netflix continues to run our cloud deployments on virtual machines leveraging the deep IaaS support of Amazon EC2.

Ready to run? See Dockerhub for pre-built trusted images:

[Dockerhub] (https://hub.docker.com/u/netflixoss/)

More details? See the wiki and release announcement blog for information:

[Wiki] (https://github.com/Netflix-Skunkworks/zerotodocker/wiki) [Blog] (http://techblog.netflix.com/2014/11/zerotodocker-easy-way-to-evaluate.html)

zerotodocker's People

Contributors

aspyker avatar copperlight avatar everpeace avatar matschaffer avatar redfive avatar sbehrens avatar spiermar avatar tgianos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zerotodocker's Issues

Ribbon and Karyon not able to register HELLO-Netflix-OSS app to Eureka

I am able to resolve the issue by using correct active virtualBox Driver (Active Dcoker machine) but now stuck on integrating the Ribbon with Eureka. Not able to discover the hello-netflix-oss on Eureka Dahsboard.

Considering App ips are not exposed outside of container but VirtualBox ip so can somebody help me on how we can make change in exising steps to correct the same

asgard.log isn't on stdout

Right now asgard.log isn't on stdout which means it wouldn't be consumed by 12-factor app assuming frameworks.

No response from daemon

Upon running:
docker pull netflixoss/eureka
My console response is:
Using default tag: latest
Error response from daemon: manifest for netflixoss/eureka:latest not found

Where to go from here?

Exhibitor not accessible using port 8080

Just wanted to try out exhibitor locally using docker but it does not work for me, at least the GUi is not accessible:

docker run --name exhibitor -p 8080:8080 netflixoss/exhibitor:1.5.2
v1.0
INFO  com.netflix.exhibitor.core.activity.ActivityLog  Exhibitor started [main]
May 30, 2015 9:20:08 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
INFO  org.mortbay.log  Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog [main]
INFO  org.mortbay.log  jetty-1.0 [main]
INFO  com.netflix.exhibitor.core.activity.ActivityLog  State: down [ActivityQueue-0]
May 30, 2015 9:20:10 PM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background /root/.java/.userPrefs/prefs.xml
INFO  com.netflix.exhibitor.core.activity.ActivityLog  Attempting to stop instance [ActivityQueue-0]
INFO  com.netflix.exhibitor.core.activity.ActivityLog  Attempting to start/restart ZooKeeper [ActivityQueue-0]
INFO  com.netflix.exhibitor.core.activity.ActivityLog  jps didn't find instance - assuming ZK is not running [ActivityQueue-0]
INFO  com.netflix.exhibitor.core.activity.ActivityLog  Starting in standalone mode [ActivityQueue-0]
ERROR com.netflix.exhibitor.core.activity.ActivityLog  ZooKeeper Server: JMX enabled by default [pool-2-thread-1]
INFO  com.netflix.exhibitor.core.activity.ActivityLog  Process started via: /zookeeper/bin/zkServer.sh [ActivityQueue-0]
ERROR com.netflix.exhibitor.core.activity.ActivityLog  ZooKeeper Server: Using config: /zookeeper/bin/../conf/zoo.cfg [pool-2-thread-1]
INFO  com.netflix.exhibitor.core.activity.ActivityLog  ZooKeeper Server: Starting zookeeper ... STARTED [pool-2-thread-2]
INFO  com.netflix.exhibitor.core.activity.ActivityLog  State: serving [ActivityQueue-0]
May 30, 2015 9:20:48 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9.1 09/14/2011 02:36 PM'
INFO  org.mortbay.log  Started [email protected]:8080 [main]

Afterwards I executed:

docker ps -q | xargs docker inspect --format '{{ .NetworkSettings.IPAddress }}  {{ .Name }} {{ .Config.Image }} {{ .State.Running }} {{ .Id }}' exhibitor
172.17.0.64  /exhibitor netflixoss/exhibitor:1.5.2 true 157d31182eea69ac8dc7363edaa847f6c48a8ef1ab85ad4a14abc768016da70b
172.17.0.64  /exhibitor netflixoss/exhibitor:1.5.2 true 157d31182eea69ac8dc7363edaa847f6c48a8ef1ab85ad4a14abc768016da70b

but curl times out

curl http://172.17.0.64:8080/exhibitor/v1/ui/index.html
curl: (7) Failed connect to 172.17.0.64:8080; Operation timed out

Facilitate configuration of ports for different containers

It seems to me that you can't do a good run of this using boot2docker, not without digging for Tomcat configuration files. The containers run on different internal IPs, and several things use port 8080. So, you can't expose all these services to the host machine (the machine hosting the boot2docker VM). Am I missing something?

Oracle JDK?

I am curious why you guys chose to use the Oracle JDK which some would consider license heavy, especially since you accept on behalf of everyone rather than using openjdk or the Azul version of openjdk?

Docker Eureka update

Hi guys,

I saw that you are not actively maintain the eureka docker image. The actual Eureka version is 1.3.1, whereas the latest release of the eureka is 1.9.25.

I am actively maintaining an updated version here: https://github.com/dinuta/netflixoss-eureka.

I wonder if you can validate & advertise it, for the community since I added some tests and some people are using it.

Thanks,
Catalin

*knock knock* Hello?

Are you guys still maintaining these repos? I'd be happy to help if any general assistance is need.

No Latest tag for Netflix OSS Zuul

When trying to launch Zuul from Kitematic a user will receive the error:

Tag latest not found in repository docker.io/netflixoss/zuul

File not found

I trying to build a docker image using this file: https://github.com/Netflix-Skunkworks/zerotodocker/blob/master/eureka/1.3.1/Dockerfile

On step 4: ADD config.properties /tomcat/webapps/eureka/WEB-INF/classes/config.properties, I'm getting an error "ADD failed: stat /var/lib/docker/tmp/docker-builder171196452/config.properties: no such file or directory"

Follow the Dockerfile that I'm building:

Copyright 2014 Netflix, Inc.

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

FROM netflixoss/tomcat:7.0.64
MAINTAINER Netflix Open Source Development [email protected]

RUN cd /tomcat/webapps &&
mkdir eureka &&
cd eureka &&
wget -q http://repo1.maven.org/maven2/com/netflix/eureka/eureka-server/1.3.1/eureka-server-1.3.1.war &&
jar xf eureka-server-1.3.1.war &&
rm eureka-server-1.3.1.war

ADD config.properties /tomcat/webapps/eureka/WEB-INF/classes/config.properties
ADD eureka-client-test.properties /tomcat/webapps/eureka/WEB-INF/classes/eureka-client-test.properties
ADD eureka-server-test.properties /tomcat/webapps/eureka/WEB-INF/classes/eureka-server-test.properties

EXPOSE 8080

ENTRYPOINT ["/tomcat/bin/catalina.sh"]

CMD ["run"]

Eureka docker 1.3.1 instance registrations failing

I recently started using the netflixoss/eureka:1.3.1 docker image but I'm getting a 400 Bad Request error on all registrations. This issue doesn't seem to exist on 1.1.147, which is very odd.

The error in the response is: {error:'cannot parse request body'}

Here's my POST body:

{
    "instance": {
        "app": "jqservice",
        "hostName": "localhost",
        "ipAddr": "127.0.0.1",
        "port": 8080,
        "vipAddress": "jq.test.something.com",
        "dataCenterInfo": {
            "name": "MyOwn"
        },
        "status": "UP"
    }
}

URL: http://192.168.99.100:8080/eureka/v2/apps/jqservice

Headers:
Content-Type: application/json
Accept: application/json

If I switch back to netflixoss/eureka:1.1.147 the request succeeds with no other changes. Was there any major changes to the request body that I'm missing? I don't see anything in the server log around the bad request when this happens. If there's anything else I should try, let me know. Thanks!

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.