Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watching base image ? #353

Open
r3mi opened this issue Feb 24, 2024 · 3 comments
Open

Watching base image ? #353

r3mi opened this issue Feb 24, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@r3mi
Copy link

r3mi commented Feb 24, 2024

Hello,
thanks for What's up Docker, very useful !
Question: is there a way to watch "base" image ?

Sometime, I need to customize released images, e.g.

FROM imageA:versionA
RUN some small customization

In that example, is there an easy way to watch for "imageA" ?

More complex example, when "merging" 2 images:

FROM imageB:versionB AS bb
FROM imageC:versionC
COPY --from=bb /some /stuff

In that example, is there an easy way to watch for "imageB" and "imageC" ?

Thanks !

@fmartinou
Copy link
Owner

Hi,

Right now, there is no possibility to watch base images.

wud is only watching containers, not Dockerfiles.

I'm not aware of any possible solution to get the FROM information from a container; do you?

@fmartinou fmartinou self-assigned this Mar 5, 2024
@fmartinou fmartinou added the enhancement New feature or request label Mar 5, 2024
@r3mi
Copy link
Author

r3mi commented Mar 5, 2024

hello, thanks,
or may be , would it make sense to add a specific label to provide the image reference ?
e.g.

services:
  mariadb:
    build:
      dockerfile_inline: |
        FROM mariadb:10.4.5
        RUN some customization  
      ...
    labels:
      - wud.baseimage=mariadb:10.4.5

@RichyHBM
Copy link

+1 from me, a specific example from me is a vscode image where I FROM it to add additional cmd tools for other plugins. Being able to override the image name from a label would be a great addition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants