docker-engine: 17.06.0~ce-0~ubuntu
relevant log files: https://gist.github.com/analbeard/fca3ddfb36d3e8ba0f71dce1cd13acdf
We are running Harbor with an on-premise Openstack Swift cluster providing the storage - push/pull works fine but we are unable to delete images. The swift user has full read/write permissions on the container and I can manually delete test files. Please see above for the log files for the transaction.
Storage configuration:
storage:
swift:
username: registry
password: **
authurl: https://auth.storage.domain.com/v2.0
tenant: **
region: **
container: dockerimages
delete:
enabled: true
According to the docs of docker distribution, swift has no property called "delete". You should set "delete" on the same level with "swift".
storage:
swift:
username: registry
password: **
authurl: https://auth.storage.domain.com/v2.0
tenant: **
region: **
container: dockerimages
delete:
enabled: true
Wonderful, that's fixed it. Thanks!
Most helpful comment
According to the docs of docker distribution, swift has no property called "delete". You should set "delete" on the same level with "swift".
storage: swift: username: registry password: ** authurl: https://auth.storage.domain.com/v2.0 tenant: ** region: ** container: dockerimages delete: enabled: true