Re: Trying out the karaf docker image

2020-04-06 Thread Steinar Bang
> Jean-Baptiste Onofre : > You can also use the docker feature in karaf and just do > docker:provision: it will create a docker image using the current > state of the Karaf instance. Sounds awsome! Can it push the provisioned images to docker hub? Or do you need a docker instance running on

Re: Trying out the karaf docker image

2020-04-06 Thread Jean-Baptiste Onofre
You just need the docker daemon running on the same machine where Karaf is running: docker feature interacts with the docker daemon (it could be remote also). You can pass the URL as argument, for instance docker:provision —url http://localhost:2375 Regards JB > Le 6 avr. 2020 à 17:06,

Re: Trying out the karaf docker image

2020-04-06 Thread Steinar Bang
> Steinar Bang : > 5. Tried the command "docker run apache/karaf:4.28" which worked better Adjusted that command slightly: docker run -p 8101:8101 and then I was able to ssh in locally on the docker container with ssh -p 8101 karaf@localhost after first SSH-ing in with the provided

Re: Trying out the karaf docker image

2020-04-06 Thread Jean-Baptiste Onofre
Hi, Yeah, that’s another option. You are right Karaf 4.2.8 has the jline issue about paster. I proposed a fix on JLine. Karaf 4.2.9 will have the fix. Regards JB > Le 6 avr. 2020 à 11:54, Steinar Bang a écrit : > >> Steinar Bang : > >> 5. Tried the command "docker run

Re: Trying out the karaf docker image

2020-04-06 Thread Steinar Bang
> Jean-Baptiste Onofre : > Hi, > By default, you would need the tty if you want the shell. > You can find some details here: http://blog.nanthrax.net/?p=839 > > https://github.com/apache/karaf/tree/master/examples/karaf-docker-example >

Re: Trying out the karaf docker image

2020-04-06 Thread Jean-Baptiste Onofre
What about creating your own docker file as explained in the blog post ? Else, juste starting a Karaf instance, changing your running container and tagging. Regards JB > Le 6 avr. 2020 à 12:03, Steinar Bang a écrit : > >> Jean-Baptiste Onofre : > >> Hi, >> By default, you would need the

Re: Trying out the karaf docker image

2020-04-06 Thread Steinar Bang
> Jean-Baptiste Onofre : > Hi, > Yeah, that’s another option. > You are right Karaf 4.2.8 has the jline issue about paster. I proposed a fix > on JLine. > Karaf 4.2.9 will have the fix. I know. Maybe I'll wait for 4.2.9 before playing further with this? Or try out the alternatives you

Re: Problem with Karaf 4.3.0 RC1 and Hibernate 5.4.13

2020-04-06 Thread Jakub Herkel
I haven't tried 4.2.x version yet. I would like to migrate one project from servicemix 7.0.1 so I tried the latest version. I created issue https://issues.apache.org/jira/browse/KARAF-6662 best regards jakub On Mon, Apr 6, 2020 at 7:22 AM Jean-Baptiste Onofre wrote: > Hi Jakub, > > I guess

Re: Problem with Karaf 4.3.0 RC1 and Hibernate 5.4.13

2020-04-06 Thread Jean-Baptiste Onofre
Yes, I saw the Jira thanks. You are migrating from SMX 7.0.1 to "pure" Karaf ? Regards JB > Le 6 avr. 2020 à 09:45, Jakub Herkel a écrit : > > I haven't tried 4.2.x version yet. I would like to migrate one project from > servicemix 7.0.1 so I tried the latest version. > > I created issue

Re: Trying out the karaf docker image

2020-04-06 Thread Jean-Baptiste Onofre
Hi, By default, you would need the tty if you want the shell. You can find some details here: http://blog.nanthrax.net/?p=839 https://github.com/apache/karaf/tree/master/examples/karaf-docker-example

Trying out the karaf docker image

2020-04-06 Thread Steinar Bang
I'm using https://labs.pay-with-docker.com which lets anyone with a dockerhub user try out a docker container for 4 hours until it's teared down. I've done the following: 1. Opened https://labs.play-with-docker.com in a browser 2. Pulled down docker image 4.2.8: docker pull

Re: Trying out the karaf docker image

2020-04-06 Thread Jean-Baptiste Onofre
Hi Steinar, You can also use the docker feature in karaf and just do docker:provision: it will create a docker image using the current state of the Karaf instance. Regards JB > Le 6 avr. 2020 à 12:22, Steinar Bang a écrit : > >> Jean-Baptiste Onofre : > >> What about creating your own

Re: Trying out the karaf docker image

2020-04-06 Thread Steinar Bang
> Jean-Baptiste Onofre : > What about creating your own docker file as explained in the blog post ? I will read the blog post closely and look for this. Thanks! > Else, juste starting a Karaf instance, changing your running container and > tagging. Hm... that means getting the karaf