GithubHelp home page GithubHelp logo

fabric8-docker's Issues

Can't run /bin/bash with error 404

pires@as1:~$ sudo docker run -p 8181 -i -t fabric8:fabric8 /bin/bash
Unable to find image 'fabric8:fabric8' (tag: fabric8) locally
Pulling repository fabric8
2014/01/22 13:03:06 HTTP code: 404

container-create-ssh fails

Not sure if I should open this on fabric8 or fabric8-docker

Either when invoked through my script or when done directly through karaf shell the provisioning phase fails.

Fabric8:admin@root> container-create-ssh --resolver localip --host 172.17.0.3 --user fuse  --path /home/fuse/provisioned fab02
The following containers have been created successfully:

    Container: fab02.

The container is reported to be created succesfully but it never starts:

Fabric8:admin@root> container-list 
[id]                           [version] [connected] [profiles]                                         [provision status]
fab02                          1.0       false       default                                            
root*                          1.0       true        fabric, fabric-ensemble-0000-1                     success

Enabling temporarily set DEBUG on root node shows a hint of the real problem:

Running: chmod +x bin/admin bin/admin.bat bin/client bin/client.bat bin/fusefabric bin/fusefabric.bat bin/karaf bin/karaf.bat bin/setenv bin/setenv.bat bin/shell bin/shell.bat bin/start bin/start.bat bin/status bin/status.bat bin/stop bin/stop.bat
sed: -e expression #1, char 70: unknown option to `s'
nohup: appending output to `nohup.out'
Command Failed:Could not find Karaf instance.properties

Error running fabric8 in docker

Seems like the owner of /home/fabric8/fabric8-karaf is wrong.

docker run -P -it fabric8/fabric8 /home/fabric8/fabric8-karaf/bin/fabric8
Unable to update instance pid: Unable to create directory /home/fabric8/fabric8-karaf/instances
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at org.apache.karaf.main.Main.doLock(Main.java:1442)
    at org.apache.karaf.main.Main.lock(Main.java:1430)
    at org.apache.karaf.main.Main$1.run(Main.java:357)
Caused by: java.lang.RuntimeException: Karaf can't startup, make sure the log file can be accessed and written by the user starting Karaf : java.io.FileNotFoundException: /home/fabric8/fabric8-karaf/lock (Permission denied)
    at org.apache.karaf.main.SimpleFileLock.<init>(SimpleFileLock.java:53)
    ... 7 more

Dockerfile refers to a no longer available version

...
RUN curl --silent --output fabric8.zip https://repository.jboss.org/nexus/content/groups/ea/io/fabric8/fabric8-karaf/1.0.0.redhat-366/fabric8-karaf-1.0.0.redhat-366.zip
...

Current view (2014-04-29) of https://repository.jboss.org/nexus/content/groups/ea/io/fabric8/fabric8-karaf/ :

1.0.0.redhat-328/   Tue Jan 28 10:43:01 EST 2014        
1.0.0.redhat-355/   Sun Mar 02 21:35:13 EST 2014        
1.0.0.redhat-378/   Wed Apr 02 14:07:16 EDT 2014        
maven-metadata.xml.md5  Wed Apr 02 06:55:04 EDT 2014    33  
maven-metadata.xml.sha1     Wed Apr 02 06:55:04 EDT 2014    41  

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.