question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

no delete button on WEB UI, button disabled

See original GitHub issue

Before you open an issue, you should search for similar issues. Especially for issues that deal with starting the docker-registry-frontend we have seen a tremendous amount of issues and most of the time a reference to the example-setup folder was enough for the issue reporter to solve the issue on her own.

Please, make sure to provide all the information asked for below and then delete everything above Expected behavior including this line.

Expected behavior

delete button should be seen on Web UI, but not.

  • Please describe what you tried to do and what you expect the software to act like.

Actual behavior

The delete button is disabled.

  • Please describe what happened instead of the expected behavior.

Steps to reproduce the problem

  • Please describe how a developer can reproduce the issue that you faced. Make sure you include information how you configured or started the registry and the frontend.

Specifications

  • Which version of docker (docker version) are you running? 18.03.1-ce
  • Which operating system do you use? CentOS 7.5
  • Which version of the docker-registry-frontend are you running? konradkleine/docker-registry-frontend:v2
  • If you have the frontend running already you can find the version at the very bottom on every page.
  • Otherwise you can provide the output of docker images | grep "docker-registry-frontend".

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

9reactions
ryanrcacommented, Jan 17, 2019

I tried running with: ``` -e ENV_MODE_BROWSE_ONLY=false

and it had no effect.  The delete button was disabled/gone.
1reaction
presidentencommented, Mar 14, 2019

Seems like he didnt finish the other mode

image

Check out the override on line 41 https://github.com/kwk/docker-registry-frontend/blob/v2/start-apache.sh

Edit: Semi out of topic, but I switched to this UI: https://github.com/Joxit/docker-registry-ui

I run it like this and I can finally delete images. Yey. 😃 (Ps. I run it with a proxy running in another service, so remove the proxy network and open ports as you see fit to make it work for you)

version: '3.7'

services:
  registry:
    image: registry:2.7.1
    environment:
      - STORAGE_PATH=/registry
      - REGISTRY_STORAGE_DELETE_ENABLED=true
      - REGISTRY_HTTP_RELATIVEURLS=true
    volumes:
      - registry-data:/var/lib/registry
    networks:
      - backend
      - proxy

  gui:
    image: joxit/docker-registry-ui:1.1-static
    networks:
      - backend
      - proxy

volumes:
  registry-data:

networks:
  backend:
  proxy:
    external:
      name: proxy_backend
Read more comments on GitHub >

github_iconTop Results From Across the Web

Delete button is disabled due to time out issue
The disabling of the delete button just seems to be a UI/UX state handling thing where the developer of this code wanted to...
Read more >
UI Action - Need to disable the delete button for - ServiceNow
I have written the UI action and can able to hide the delete button. The action name I have used is "sysverb_delete". I...
Read more >
Disable Delete button on sites console
- Once author selects page from sites console, we have to disable the delete button if page was in published status. - we...
Read more >
Disabling add, edit, delete buttons - Stack Overflow
You can add the condition directly in the html. The [disabled] directive if set to true will disable the given button.
Read more >
Disabled Buttons in User Interface | by Nick Babich | UX Planet
No wonder that disabled buttons have a negative impact on user conversion. Users who don't want to find what keeps the button disabled...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found