-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
Description
Ctr fails to pull image with unicode registry username. Docker hub is not allowed using unicode charset other than letters, however some registries support it.
Steps to reproduce the issue:
- setup a registry account with unicode charset (e.g. chinese characters)
- bin/ctr images pull -u "世界:你好" registry.cn-shanghai.aliyuncs.com/fake/name:latest
Describe the results you received:
ctr: failed to resolve reference "registry.cn-shanghai.aliyuncs.com/fake/name:latest": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
Describe the results you expected:
registry.cn-shanghai.aliyuncs.com/fake/name:latest: resolving |--------------------------------------|
elapsed: 0.2 s total: 0.0 B (0.0 B/s)
registry.cn-shanghai.aliyuncs.com/fake/name:latest:1207: resolved |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:: exists |++++++++++++++++++++++++++++++++++++++|
config-sha256:: exists |++++++++++++++++++++++++++++++++++++++|
layer-sha256: done |++++++++++++++++++++++++++++++++++++++|
layer-sha256:: done |++++++++++++++++++++++++++++++++++++++|
layer-sha256:: done |++++++++++++++++++++++++++++++++++++++|
elapsed: 23.2s total: 645.2 (27.8 MiB/s)
unpacking linux/amd64 sha256:...
done
Output of containerd --version:
containerd github.com/containerd/containerd v1.2.0-88-g75c490c5.m 75c490c5c4fa2bbd40c287cfe8f7683bc215bdea.m
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels