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, Steinar Bang <[email protected]> a écrit :
> 
>>>>>> Jean-Baptiste Onofre <[email protected]>:
> 
>> 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 the same computer as the karaf
> doing the provisioning?
> 
> (I tried it briefly and it seemed to require a local docker and I didn't
> find any relevant config in the etc directory after loading the docker
> feature, so I guess it does require a local docker instance...?)
> 

Reply via email to