Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [hono-dev] Regarding the "Getting started" guide

Hi,

I followed the link on the Getting started page and only found the free version of Docker, which is called Docker Community Edition. Then I installed the Docker CE for Ubuntu in the link here:

https://store.docker.com/editions/community/docker-ce-server-ubuntu

Not sure if it is the Docker Engine or Docker Machine u mentioned.

Sincerely
T.Nguyen

2017-05-26 15:21 GMT+02:00 Paolo Patierno <ppatierno@xxxxxxxx>:

Are you using Docker Engine or Docker Machine ?


Paolo Patierno
Senior Software Engineer (IoT) @ Red Hat
Microsoft MVP on Windows Embedded & IoT
Microsoft Azure Advisor 

Twitter : @ppatierno
Linkedin : paolopatierno
Blog : DevExperience



From: hono-dev-bounces@xxxxxxxxxxx <hono-dev-bounces@xxxxxxxxxxx> on behalf of Thông Nguyễn Quốc <quocthong.ng@xxxxxxxxx>
Sent: Friday, May 26, 2017 1:15 PM

To: hono developer discussions
Subject: Re: [hono-dev] Regarding the "Getting started" guide
 
Hi there,

Yes, I did run that command and it listed the information of both docker client and server normally

2017-05-26 14:29 GMT+02:00 Paolo Patierno <ppatierno@xxxxxxxx>:

Can you just run the following command :


docker version


to see if docker is installed correctly and the docker daemon (server) is running properly.


Paolo Patierno
Senior Software Engineer (IoT) @ Red Hat
Microsoft MVP on Windows Embedded & IoT
Microsoft Azure Advisor 

Twitter : @ppatierno
Linkedin : paolopatierno
Blog : DevExperience



From: hono-dev-bounces@xxxxxxxxxxx <hono-dev-bounces@xxxxxxxxxxx> on behalf of Dejan Bosanac <dejanb@xxxxxxxxxxxx>
Sent: Friday, May 26, 2017 12:15 PM
To: hono developer discussions
Subject: Re: [hono-dev] Regarding the "Getting started" guide
 
Seems like you don’t have a docker installed on your vm. I would start with checking the docker environment if you can run simple docker examples before moving forward.



On Fri, May 26, 2017 at 11:47 AM, Thông Nguyễn Quốc <quocthong.ng@xxxxxxxxx> wrote:
Hi there,

I am a complete newbie and I want to learn more about Hono project. However, I am getting a trouble in the "Getting started" guide. My scenario is that, I want to compile Hono on a virtual machine (Lubuntu 16.04). Following is the list of all interfaces on my virtual machine:

enp0s3: 10.0.2.15
Docker0 bridge: 172.17.0.1
Docker_gwbridge

When I want to compile Hono with this line
mvn clean install -Ddocker.host=tcp://${host}:${port} -Pbuild-docker-image

In which, I have to replace the ${host}:${port} with the host and port of the host where docker is running on. So in this case, is my virtual machine consider as a host, and the ip address 10.0.2.15 is a valid option ? For the port, I have no clue what it should be and how to determine it. I try to use the port 80 but the result failed at Hono REST Adapter and threw error "Cannot extract API version from server" and "Connection refused".

The guide also suggests that if I run Linux and docker is installed locally, I can omit the Ddocker.host property. Therefore I try to run the compiling line:

mvn clean install  -Pbuild-docker-image

The result also failed at Hono REST Adapter and threw an error "No <dockerHost> given"

Could you suggest me how can I find the correct host and port for the compiling of Hono ? I've struggled with it for 2 weeks and cannot find a solution.

Best regards
Thong Nguyen

_______________________________________________
hono-dev mailing list
hono-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/hono-dev




--
Regards
--
Dejan Bosanac
http://sensatic.net/about

_______________________________________________
hono-dev mailing list
hono-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/hono-dev



_______________________________________________
hono-dev mailing list
hono-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/hono-dev



Back to the top