jesseduffield / lazydocker

The lazier way to manage everything docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add config to hide Docker repo prefix from image names

danielcompton opened this issue · comments

Is your feature request related to a problem? Please describe.

We use ECR for our docker images. The Docker repo URL for an image is in the format 123456789012.dkr.ecr.us-east-1.amazonaws.com/<repo>. This long prefix pushes the rest of the UI off the screen.

Describe the solution you'd like

A config option where we could replace a substring in the Docker image name. It would allow something like:

replacements:
  - "123456789012.dkr.ecr.us-east-1.amazonaws.com": "<prod>"
  - "923456789999.dkr.ecr.us-east-1.amazonaws.com": "<dev>"

Describe alternatives you've considered

Not sure? Use Dockerhub?

Additional context

CleanShot 2022-03-23 at 14 37 37@2x

This should be fairly straightforward to implement so I'm chucking a 'good-first-issue' label on it. If anybody wants to take a stab and needs some pointers let me know!

ezoic increase your site revenue