edit-icon download-icon

FAQs about Docker client

Last Updated: Jan 26, 2018

Docker logon failure

Mainly troubleshoot the following two issues:

  • The logon password of Alibaba Cloud account is used, instead of the independent logon password of Registry. The Registry logon password is configured and modified in the Container Registry console.

  • If you use sudo for logon, make sure you first enter the Linux user password, instead of the Registry logon password. The Linux user password usually allows you to try at most three times and prompts try again when the password is wrong. However, the Docker client exits after you enter the wrong Registry logon password once and returns the following error:

    1. Error response from daemon: Get https://registry.cn-hangzhou.aliyuncs.com/v2/: unauthorized: authentication required

Docker pull failure

The system prompts Error: image xxx not found.

  • If you want to download images from a public repository, the error is caused due to the incorrect image URL. Search for this public repository in the console and check if the image version to be downloaded exists.

  • If you want to download images from a private repository, check your Registry logon status first.

    Run cat ~/.docker/config.json to view all the domain names of the logged on Registries. Check if the domain name of the Registry that you want to download images is in the list. If not, log on to the relevant Registry by following the preceding instructions. If you already log on to the Registry, check if your logon account has permissions to download the image. Sub-accounts do not have any permission by default.

The system prompts Error: filesystem layer verification failed for digest.

This error indicates the downloaded block files failed to be verified, which occurs in rare cases. Generally, you can fix it by trying again.

Docker push failure

The system prompts denied: requested access to the resource is denied.

The troubleshooting steps are roughly the same as those for Docker pull failure. The only difference is that a higher authorization level is required in this case.

Thank you! We've received your feedback.