Docker cannot install any applications


Recommended Posts

@Yang-LU I quickly tried to to pull the jellyfin/jellyfin docker from your first post and I had no issues installing it.

grafik.thumb.png.55a6a84cfd18f79a09a5a237fd242ea4.png

 

Your Timezone is set to Asia/Shanghai so I guess your server is in China. The "certificate has expired or is not yet valid" might indicate you're not able to reach the source of the docker you try to pull. Not sure how many chinese users Unraid has and where the limitations are in China but for me it looks like you can't reach the site for the docker where it is hosted.

 

from your docker logs:

time="2018-01-16T14:04:20.388405528+08:00" level=error msg="Handler for POST /v1.40/images/create returned error: Get https://registry-1.docker.io/v2/: x509: certificate has expired or is not yet valid"
time="2018-01-16T14:05:23.771327113+08:00" level=error msg="Handler for POST /v1.37/images/create returned error: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"

 

Link to comment

Can you try to access "https://registry-1.docker.io/v2/" via a browser? You should see something like the following:

grafik.png.7c0035dbbde09499aba923aa5b48d084.png

or can you try to reach "docker.io"?

 

If I check the certificate for the page it's registered by Amazon. Either one of them isn't reachable for you. Not exactly sure how SSR or your "virtual router" is setup, how it exactly works or where the limitations are, but I guess you know, that you propably not able to reach all global sites from China without some sort of VPN or Tor.

Link to comment

That's the exact message I get accessing the page. Can you check the certificate for the page?

 

Example for Firefox click the lock item

grafik.png.e5f5b8fe792a706192914f1b96534469.png

and select connection details

grafik.png.11fdd9f72c703cb6c34921bf8f42d0e7.png

and "more information" at the bottom. You should see a new window pop up where you can select "show certificate". Check if the Amazon cerificate is valid for you. Are you able to access Amazon or "docker.io" in China?

 

Link to comment
54 minutes ago, bastl said:

 

from your docker logs:


time="2018-01-16T14:04:20.388405528+08:00" level=error msg="Handler for POST /v1.40/images/create returned error: Get https://registry-1.docker.io/v2/: x509: certificate has expired or is not yet valid"
time="2018-01-16T14:05:23.771327113+08:00" level=error msg="Handler for POST /v1.37/images/create returned error: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"

 

Fix your server time.

Link to comment

e..You know in china, We cannot access some websites freely, so we need SSR or foreign server to do it, I used to use the software on my computer, but I found the steps too cumbersome, so I made up a router on unraid to mount programs such as removing ads, SSR, and remote downloads etc, I do not know how to say this kind of equipment in English, in Chinese we call soft route.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.