Conversation
|
This seems a little odd to me. Podman and Buildah aren't Docker though right? So it seems weird for non-Docker things to show up in a search for Docker related files. I agree the naming here is weird. Usually the ignore types are tied to a particular piece of software. Maybe we should just have |
|
You are completely right that the situation here is a bit odd. Yes, Podman and Buildah are alternatives to Docker tools, with similar functionality but having nothing to do with Docker Inc. as a vendor. As I understand it, the whole idea of using the name "Containerfile" was to emphasize vendor neutrality. Having that in mind, we can think about software that uses it as "container tools", e.g. Docker itself (though not by default but via I do agree that most people who historically used On the other hand, people who want Containerfiles likely expect to find Dockerfiles as well, because they are used interchangeably for backward compatibility with other tools than Docker. It can also be handy for many to have a file type that searches through both file names. Hence, we perhaps should leave The real question then is how to name the new type. I do not feel that naming after a tool/vendor is a good idea because of the reasons mentioned in the second paragraph. At the moment, I can't come up with a better idea than |
|
To make things more confusing, Apple's container tool defaults to Dockerfile and falls back to Containerfile. Either way, we cannot list all container tools and should go with something neutral. |
|
I guess we should probably just call it |
|
I find |
|
I also find it odd. But |
cc2b50e to
a50ddc7
Compare
This PR adds
Containerfileas a synonym toDockerfile.Containerfileis the preferred file name in Podman and Buildah.In hindsight,
dockercould be not the best name for the file type, but my thinking is that it's best to leave it as it is than to add a new type, let alone rename it. Also,containerwould have been too generalized, andcontainerfilewould have been too long to type.