2025-09-01 Dockerfile vs Containerfile
レポジトリをウォッチしてて、Dockerfile
ではなく Containerfile
を見かけたのでメモ。
ChatGPT 曰く、
要約すると、Docker環境では「Dockerfile」名がデファクトスタンダードであり、Podman/BuildahなどDocker互換ツールの文脈では「Containerfile」名が推奨される場合があるという状況です。
ということで互換ツールも対応した中立的な名前として Containerfile
がある、ということらしい。
You can define what software is included in a container image by writing a Containerfile. This file, which must be named Containerfile (or Dockerfile, for compatibility purposes),
via. Write your first Containerfile for Podman