Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Cannot delete images from registry (because of indent in config)

    Docker Registry
    docker registry delete
    3
    3
    241
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      msbt App Dev last edited by

      When trying to delete a docker image in the web-ui it throws this error: {"errors":[{"code":"UNSUPPORTED","message":"The operation is unsupported."}]}

      I've tried poking around in the config and giving the delete: option one indent to put it in the storage:-block and restarting the container seems to have fixed it.

      before:

      storage:
        cache:
          blobdescriptor: redis
        filesystem:
          rootdirectory: /app/data/storage
      delete:
        enabled: true
      

      after:

      storage:
        cache:
          blobdescriptor: redis
        filesystem:
          rootdirectory: /app/data/storage
        delete:
          enabled: true
      

      This is for reference

      Cheers

      nebulon girish 2 Replies Last reply Reply Quote 2
      • nebulon
        nebulon Staff @msbt last edited by

        @msbt I guess we could enable that by default, not sure why it wouldn't be. That way the yaml indent issues are avoided for this case.

        1 Reply Last reply Reply Quote 2
        • girish
          girish Staff @msbt last edited by

          @msbt thanks for reporting, fixed in the new package.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Powered by NodeBB