You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by CodeCola <pr...@rogers.com> on 2016/12/09 16:00:00 UTC

Re: Docker

Failed to execute goal org.jolokia.docker-maven-plugin. Execution default-cli
of org.jolokia.docker-maven-plugin failed: No url given, no DOCKER_HOST
environment variable and no read/writable '/var/run/docker.sock'

When I do this:

Karaf - Microservice Docker
*mvn docker:start*

Windows 10 docker



--
View this message in context: http://karaf.922171.n3.nabble.com/Docker-tp4041614p4048970.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Docker

Posted by CodeCola <pr...@rogers.com>.
Yes I ran this:
https://hub.docker.com/r/bankmonitor/spring-boot/

I am rather new, where do I set

1) DOCKER_HOST environment variable

2) Assign permissions to admin/root



--
View this message in context: http://karaf.922171.n3.nabble.com/Docker-tp4041614p4048973.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Docker

Posted by CodeCola <pr...@rogers.com>.

https://github.com/ANierbeck/Karaf-Microservices-Tooling/issues/3



The same issue was reproduced in Ubuntu.

Kindly fix these issues in Windows 10 and in Ubuntu / Linux

This only seems to work on Mac BSD

Also a description of how it is useful would be nice.



--
View this message in context: http://karaf.922171.n3.nabble.com/Docker-tp4041614p4048975.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Docker

Posted by Achim Nierbeck <bc...@googlemail.com>.
yep, that's definitely an issue of Docker on windows, are you able to run
any docker images on Win10?

regards, Achim


2016-12-09 17:03 GMT+01:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:

> Hi,
>
> it sounds like a permission issue (by default docker requires admin/root
> permission).
>
> Regards
> JB
>
>
> On 12/09/2016 05:00 PM, CodeCola wrote:
>
>> Failed to execute goal org.jolokia.docker-maven-plugin. Execution
>> default-cli
>> of org.jolokia.docker-maven-plugin failed: No url given, no DOCKER_HOST
>> environment variable and no read/writable '/var/run/docker.sock'
>>
>> When I do this:
>>
>> Karaf - Microservice Docker
>> *mvn docker:start*
>>
>> Windows 10 docker
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.
>> com/Docker-tp4041614p4048970.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Re: Docker

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

it sounds like a permission issue (by default docker requires admin/root 
permission).

Regards
JB

On 12/09/2016 05:00 PM, CodeCola wrote:
> Failed to execute goal org.jolokia.docker-maven-plugin. Execution default-cli
> of org.jolokia.docker-maven-plugin failed: No url given, no DOCKER_HOST
> environment variable and no read/writable '/var/run/docker.sock'
>
> When I do this:
>
> Karaf - Microservice Docker
> *mvn docker:start*
>
> Windows 10 docker
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Docker-tp4041614p4048970.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofr
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com