bootc-dev / bootc-dev/bootc

No feedback on Containerfile directives that do not work with bootc

オープン
#435 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
area/config
主要言語
Rust
スター
2.3k
フォーク
230
平均マージ
3日 3時間
マージ済み PR(30日)
36

説明

I don't know how to solve this, but there's a whole bunch of Containerfile commands that do not work or work differently with bootc containers. As a user, I don't see a warning at build or runtime about these:

* EXPOSE: Has no effect.
* ENTRYPOINT: ```/sbin/init``` should be the ```CMD``` ... and the usual ```CMD``` related to the workload needs to become a systemd service or quadlet?
* STOPSIGNAL: Seems this always needs to be SIGRTMIN+3?
* WORKDIR: When used to place executables or files accessed by a systemd service, fails due to SELinux behaving differently with a container than with a booted host. See #439

Others?

* ENV: Has an effect at buildtime, does it work at runtime?
* HEALTHCHECK
* SHELL
* VOLUME

Again, Not sure how these would work. but the user is seems to be expected to discover these differences.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by inventorying the listed Containerfile directives and the differences described for bootc at build and runtime. Read the related discussion in #439, then determine whether each directive needs a warning, documentation, or both; done should clearly identify the supported behavior and user-facing feedback for each case.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dockerfile
領域
devops, infrastructure
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。