Starting dockercloud-agent service takes forever: 301

Was very happy to do everything with Docker, but just got stucked when I’m installing dockercloud-agent:

-> Starting dockercloud-agent service...

The Log:

root@rkus:/# tail -f /var/log/dockercloud/agent.log                                          [10/10]
2016/03/11 03:12:32 Create pid file(/var/run/dockercloud-agent.pid): 10228
2016/03/11 03:12:32 Checking if config file exists
2016/03/11 03:12:32 Loading Configuration file
2016/03/11 03:12:32 Registering in Docker Cloud via POST: https://cloud.docker.com/api/agent/v1/node
/
2016/03/11 03:12:33 Registration failed, 402. Retry in 1 seconds
2016/03/11 03:12:35 Registration failed, 402. Retry in 2 seconds
2016/03/11 03:12:38 Registration failed, 402. Retry in 4 seconds
2016/03/11 03:12:42 Registration failed, 402. Retry in 8 seconds
2016/03/11 03:12:51 Registration failed, 402. Retry in 16 seconds
2016/03/11 03:13:08 Registration failed, 402. Retry in 32 seconds

Try to cURL the docker cloud:

root@rkus:/# http POST https://cloud.docker.com/api/agent/v1/node                              [9/9]
HTTP/1.1 301 MOVED PERMANENTLY
Cache-control: no-cache="set-cookie"
Content-Length: 0
Content-Type: text/html; charset=utf-8
Date: Fri, 11 Mar 2016 08:16:45 GMT
Location: https://cloud.docker.com/api/agent/v1/node/
Server: nginx
Set-Cookie: AWSELB=45FF0B0D1C4E0CD2A43689C3D2343F7C4D20B74179E0A8A9EBEAD530EF63CD90DE3C93ED11B7A6E0A
686D3CB8A5DA7305ACB37BA530EF532B978451885809A6766266286CE;PATH=/
Strict-Transport-Security: max-age=31536000; includeSubdomains

I’m still doing researches, any suggestion would be greatful :slight_smile:

Is this because of I’m not paying yet?

I’m using Bring my own node feature.

If you haven’t provided billing information you’ll be limited to one node, including BYON. If you already have another node, this behavior will occur. We’re working to provide a better error message and user experience in this scenario.

1 Like

That would be really great. Just ran into the same issue. How are the costs when I bring, lets say, my own 5 nodes to cloud.docker.com? In the current price list (https://cloud.docker.com/account/#plan) I can only find information about private repositories which I don’t need.

This problem waste my 1 hour.

Should fix ASAP.

I would also be interested in this. Were you able to find out more on this topic?

Yes, first node is for free. Any additional node costs around $15 per month.

-------- Originalnachricht --------