Git Product home page Git Product logo

fabric8-java-docker's Introduction

fabric8-java-docker

This project builds a docker container which is used by fabric8 to create Java based Micro Services using the Java Container.

Its not intended for this container image to be usable by itself; its used by the Java Container to create a new docker container image for each micro service as you create a container for the profile for a java container using the docker plugin

Try it out

  • this demo shows how to get started using a Java Container with fabric8
  • check out how to use docker with fabric8; in particularly you need to:
    • ensure docker containers can see the host running the fabric; e.g. using localip or manualip resolution (as on OS X and Windows often docker containers cannot see your local host machines host name)
    • add the docker profile to the root container
  • if you use the fabric8 console or command line to create a docker container for the java container profile; it will create a new docker image on the fly based on fabric8/fabric8-java but also copying any configuration files or jars into the lib folder etc.

Building the docker container locally

We have a Docker Index trusted build setup to automatically rebuild the fabric8/fabric8-java container whenever the Dockerfile is updated, so you shouldn't have to rebuild it locally. But if you want to, here's now to do it...

Once you have installed docker you should be able to create the containers via the following:

git clone [email protected]:fabric8io/fabric8-java-docker.git
cd fabric8-java-docker
./build.sh

The fabric8 container should then build.

Experimenting

To spin up a shell in one of the containers try:

docker run -P -i -t fabric8/fabric8-java /bin/bash

You can then noodle around the container and run stuff & look at files etc.

fabric8-java-docker's People

Contributors

jstrachan avatar hekonsek avatar jimmidyson avatar

Watchers

Ashwin J. Karpe avatar James Cloos 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.