Skip to content

[proposal] Emit warning if ADD --chown flag is used with archive file #3700

@simnalamburt

Description

@simnalamburt

I noticed a counterintuitive behavior of Moby which is ignoring ADD --chown flag when it is used in conjunction with a compressed file. Moby project had several duplicate issues because of this. It would be better if Moby prohibits such use or displays a warning. What do you think?

I also could not find out where this behavior is documented in the official docs. If this behavior is not documented, it might be better to document it explicitly too.

References

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions