両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
linux:podman [2025/03/30 10:57] – [コンテナ内のカラーが微妙に違う...🤔どうでもいいけど...😅] ともやん | linux:podman [2025/03/31 06:43] (現在) – [参考文献] ともやん |
---|
気になる人のために...😉\\ | 気になる人のために...😉\\ |
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><html><pre class=BSc> | <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269">buildah</font> u<font color="#999999">nshare</font> | <font color="#0087FF"><b>$</b></font> <font color="#26A269">buildah</font> u<font color="#999999">nshare</font> |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre class=BSc> |
<font color="#5F00FF">┌──(</font><font color="#F66151"><b>root 💀 highway-x</b></font><font color="#5F00FF">)-[</font><b>~/</b><font color="#5F00FF">]</font> | <font color="#5F00FF">┌──(</font><font color="#F66151"><b>root 💀 highway-x</b></font><font color="#5F00FF">)-[</font><b>~/</b><font color="#5F00FF">]</font> |
<font color="#5F00FF">└─</font><font color="#F66151"><b>#</b></font> <font color="#26A269">exit</font> | <font color="#5F00FF">└─</font><font color="#F66151"><b>#</b></font> <font color="#26A269">exit</font> |
| </pre></html></WRAP> |
| <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> run <font color="#A347BA">--name</font> fedora <font color="#A347BA">--rm</font> <font color="#A347BA">-ti</font> tomoyan596/fedora41-minimal-zsh zsh | <font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> run <font color="#A347BA">--name</font> fedora <font color="#A347BA">--rm</font> <font color="#A347BA">-ti</font> tomoyan596/fedora41-minimal-zsh zsh |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre class=BSc> |
┌──(<font color="#F66151"><b>root 💀 dedcd1106d29</b></font>)-[<b>~</b>] | ┌──(<font color="#F66151"><b>root 💀 dedcd1106d29</b></font>)-[<b>~</b>] |
└─<font color="#F66151"><b>#</b></font> <font color="#26A269">exit</font> | └─<font color="#F66151"><b>#</b></font> <font color="#26A269">exit</font> |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_command><html><pre class=BSc> | <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> run <font color="#A347BA">--name</font> fedora <font color="#A347BA">--rm</font> <font color="#A347BA">-ti</font> <font color="#A347BA">-e</font> <font color="#A2734C">"TERM=$TERM"</font> tomoyan596/fedora41-minimal-zsh zsh | <font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> run <font color="#A347BA">--name</font> fedora <font color="#A347BA">--rm</font> <font color="#A347BA">-ti</font> <font color="#A347BA">-e</font> <font color="#A2734C">"TERM=$TERM"</font> tomoyan596/fedora41-minimal-zsh zsh |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre class=BSc> |
<font color="#5F00FF">┌──(</font><font color="#F66151"><b>root 💀 d6d67305079a</b></font><font color="#5F00FF">)-[</font><b>~</b><font color="#5F00FF">]</font> | <font color="#5F00FF">┌──(</font><font color="#F66151"><b>root 💀 d6d67305079a</b></font><font color="#5F00FF">)-[</font><b>~</b><font color="#5F00FF">]</font> |
<font color="#5F00FF">└─</font><font color="#F66151"><b>#</b></font> | <font color="#5F00FF">└─</font><font color="#F66151"><b>#</b></font> |
</pre></html></WRAP> | </pre></html></WRAP> |
Or | Or |
<WRAP color_command><html><pre class=BSc> | <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> run <font color="#A347BA">--name</font> fedora <font color="#A347BA">--rm</font> <font color="#A347BA">-ti</font> <font color="#A347BA">-e</font> <font color="#A2734C">"TERM=xterm-256color"</font> tomoyan596/fedora41-minimal-zsh zsh | <font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> run <font color="#A347BA">--name</font> fedora <font color="#A347BA">--rm</font> <font color="#A347BA">-ti</font> <font color="#A347BA">-e</font> <font color="#A2734C">"TERM=xterm-256color"</font> tomoyan596/fedora41-minimal-zsh zsh |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre class=BSc> |
<font color="#5F00FF">┌──(</font><font color="#F66151"><b>root 💀 d6d67305079a</b></font><font color="#5F00FF">)-[</font><b>~</b><font color="#5F00FF">]</font> | <font color="#5F00FF">┌──(</font><font color="#F66151"><b>root 💀 d6d67305079a</b></font><font color="#5F00FF">)-[</font><b>~</b><font color="#5F00FF">]</font> |
<font color="#5F00FF">└─</font><font color="#F66151"><b>#</b></font> | <font color="#5F00FF">└─</font><font color="#F66151"><b>#</b></font> |
一先ず ''-e "TERM=$TERM"'' で運用😅\\ | 一先ず ''-e "TERM=$TERM"'' で運用😅\\ |
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><html><pre class=BSc> | <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> run <font color="#A347BA">--name</font> openwrt_builder <font color="#A347BA">--rm</font> <font color="#A347BA">-ti</font> <font color="#A347BA">-v</font> <font color="#2A7BDE"><b>`</b></font><font color="#26A269">pwd</font><font color="#2A7BDE"><b>`</b></font>/openwrt:/home/tomoyan/openwrt tomoyan596/openwrt_builder zsh | <font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> run <font color="#A347BA">--name</font> openwrt_builder <font color="#A347BA">--rm</font> <font color="#A347BA">-ti</font> <font color="#A347BA">-v</font> <font color="#2A7BDE"><b>`</b></font><font color="#26A269">pwd</font><font color="#2A7BDE"><b>`</b></font>/openwrt:/home/tomoyan/openwrt tomoyan596/openwrt_builder zsh |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_result><html><pre> | <WRAP color_result><html><pre class=BSc> |
┌──(<b>tomoyan d72536ea41c9</b>)-[<b>~</b>] | ┌──(<b>tomoyan d72536ea41c9</b>)-[<b>~</b>] |
└─<b>$</b> <font color="#26A269">exit</font> | └─<b>$</b> <font color="#26A269">exit</font> |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_command><html><pre class=BSc> | <WRAP color_command><html><pre> |
<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> run <font color="#A347BA">--name</font> openwrt_builder <font color="#A347BA">--rm</font> <font color="#A347BA">-ti</font> <font color="#A347BA">-v</font> <font color="#2A7BDE"><b>`</b></font><font color="#26A269">pwd</font><font color="#2A7BDE"><b>`</b></font>/openwrt:/home/tomoyan/openwrt <font color="#A347BA">-e</font> <font color="#A2734C">"TERM=</font><font color="#A347BA">$TERM</font><font color="#A2734C">"</font> tomoyan596/openwrt_builder zsh | <font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> run <font color="#A347BA">--name</font> openwrt_builder <font color="#A347BA">--rm</font> <font color="#A347BA">-ti</font> <font color="#A347BA">-v</font> <font color="#2A7BDE"><b>`</b></font><font color="#26A269">pwd</font><font color="#2A7BDE"><b>`</b></font>/openwrt:/home/tomoyan/openwrt <font color="#A347BA">-e</font> <font color="#A2734C">"TERM=</font><font color="#A347BA">$TERM</font><font color="#A2734C">"</font> tomoyan596/openwrt_builder zsh |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_result><html><pre> | <WRAP color_result><html><pre class=BSc> |
<font color="#00FFFF">┌──(</font><font color="#0087FF"><b>tomoyan f300a11c5dff</b></font><font color="#00FFFF">)-[</font><b>~</b><font color="#00FFFF">]</font> | <font color="#00FFFF">┌──(</font><font color="#0087FF"><b>tomoyan f300a11c5dff</b></font><font color="#00FFFF">)-[</font><b>~</b><font color="#00FFFF">]</font> |
<font color="#00FFFF">└─</font><font color="#0087FF"><b>$</b></font> | <font color="#00FFFF">└─</font><font color="#0087FF"><b>$</b></font> |
[[https://www.redhat.com/sysadmin/speeding-container-buildah|Speeding up container image builds with Buildah | Enable Sysadmin]]\\ | [[https://www.redhat.com/sysadmin/speeding-container-buildah|Speeding up container image builds with Buildah | Enable Sysadmin]]\\ |
[[https://stackoverflow.com/questions/57776452/is-it-possible-to-map-a-user-inside-the-docker-container-to-an-outside-user|linux - Is it possible to map a user inside the docker container to an outside user? - Stack Overflow]]\\ | [[https://stackoverflow.com/questions/57776452/is-it-possible-to-map-a-user-inside-the-docker-container-to-an-outside-user|linux - Is it possible to map a user inside the docker container to an outside user? - Stack Overflow]]\\ |
| [[https://kinsta.com/blog/dockerfile-entrypoint/|Dockerfile ENTRYPOINT: Everything You Need To Know]]\\ |
| |
==== 付録 ==== | ==== 付録 ==== |