openssl x509 -in portus.crt -text -noout

keyid

A8:4A:6A:63:04:7D:DD:BA:E6:D1:39:B7:A6:45:65:EF:F3:A8:EC:A1

expect(kid).to eq  "A84A:6A63:047D:DDBA:E6D1:39B7:A645:65EF:F3A8:EC:A1"

spec/lib/portus/jwt_token_spec.rb

spec/lib/portus/jwt_token_spec.rb:      expect(kid).to eq "PTWT:FNJE:7TW7:ULI7:DZQA:JJJI:RDJQ:2M76:HD6G:ZRSC:VPIF:O5BU"

docker-compose stop

docker-compose build

干掉所有的本地镜像

rm -rf /var/lib/docker/overlay/*

也许我们还可以尝试下,将reg.ops.ac.cn这个registry的配置auth中,将

"PTWT:FNJE:7TW7:ULI7:DZQA:JJJI:RDJQ:2M76:HD6G:ZRSC:VPIF:O5BU"
auth:
  token:
    realm: http://reg.ops.ac.cn:3000/v2/token
    service: reg.ops.ac.cn:5000
    issuer: reg.ops.ac.cn
    rootcertbundle: /etc/docker/registry/portus.crt
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""