差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:podman [2025/03/13 16:46] – [Error: creating container storage: the container name "litespeed" is already in use by エラーが発生する💩🤪] ともやんlinux:podman [2025/03/31 06:43] (現在) – [参考文献] ともやん
行 10: 行 10:
 ドキュメント:[[rtd>docs.podman.io/|What is Podman? — Podman documentation]] [[gtr>https://docs.podman.io/|翻訳]]\\ ドキュメント:[[rtd>docs.podman.io/|What is Podman? — Podman documentation]] [[gtr>https://docs.podman.io/|翻訳]]\\
 SDK ドキュメント: [[rtd>podman-py.readthedocs.io/|Podman: Python scripting for Podman services — Podman Python SDK documentation]] [[gtr>https://podman-py.readthedocs.io/|翻訳]]\\ SDK ドキュメント: [[rtd>podman-py.readthedocs.io/|Podman: Python scripting for Podman services — Podman Python SDK documentation]] [[gtr>https://podman-py.readthedocs.io/|翻訳]]\\
 +e-books: [[rhd>e-books/podman-action|Podman in Action | Red Hat Developer]]\\
 +
 ===== インストール ===== ===== インストール =====
 公式: [[https://podman.io/docs/installation|Podman Installation | Podman]] [[gtr>https://podman.io/docs/installation|翻訳]]\\ 公式: [[https://podman.io/docs/installation|Podman Installation | Podman]] [[gtr>https://podman.io/docs/installation|翻訳]]\\
行 257: 行 259:
  
 ==== コンテナ実行 [run] ==== ==== コンテナ実行 [run] ====
 +公式: [[https://docs.podman.io/en/latest/markdown/podman-run.1.html|podman-run — Podman documentation]]\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> run <font color="#A347BA">--help</font>
 +</pre></html></WRAP>
 +<WRAP color_result_hlong><html><pre>
 +Run a command in a new container
 +
 +Description:
 +  Runs a command in a new container from the given image
 +
 +Usage:
 +  podman run [options] IMAGE [COMMAND [ARG...]]
 +
 +Examples:
 +  podman run imageID ls -alF /etc
 +  podman run --network=host imageID dnf -y install java
 +  podman run --volume /var/hostdir:/var/ctrdir -i -t fedora /bin/bash
 +
 +Options:
 +      --add-host strings                         Add a custom host-to-IP mapping (host:ip) (default [])
 +      --annotation stringArray                   Add annotations to container (key=value)
 +      --arch ARCH                                use ARCH instead of the architecture of the machine for choosing images
 +  -a, --attach strings                           Attach to STDIN, STDOUT or STDERR
 +      --authfile string                          Path of the authentication file. Use REGISTRY_AUTH_FILE environment variable to override
 +      --blkio-weight string                      Block IO weight (relative weight) accepts a weight value between 10 and 1000.
 +      --blkio-weight-device DEVICE_NAME:WEIGHT   Block IO weight (relative device weight, format: DEVICE_NAME:WEIGHT)
 +      --cap-add strings                          Add capabilities to the container
 +      --cap-drop strings                         Drop capabilities from the container
 +      --cgroup-conf strings                      Configure cgroup v2 (key=value)
 +      --cgroup-parent string                     Optional parent cgroup for the container
 +      --cgroupns string                          cgroup namespace to use
 +      --cgroups string                           control container cgroup configuration (&quot;enabled&quot;|&quot;disabled&quot;|&quot;no-conmon&quot;|&quot;split&quot;) (default &quot;enabled&quot;)
 +      --chrootdirs stringArray                   Chroot directories inside the container
 +      --cidfile string                           Write the container ID to the file
 +      --conmon-pidfile string                    Path to the file that will receive the PID of conmon
 +      --cpu-period uint                          Limit the CPU CFS (Completely Fair Scheduler) period
 +      --cpu-quota int                            Limit the CPU CFS (Completely Fair Scheduler) quota
 +      --cpu-rt-period uint                       Limit the CPU real-time period in microseconds
 +      --cpu-rt-runtime int                       Limit the CPU real-time runtime in microseconds
 +  -c, --cpu-shares uint                          CPU shares (relative weight)
 +      --cpus float                               Number of CPUs. The default is 0.000 which means no limit
 +      --cpuset-cpus string                       CPUs in which to allow execution (0-3, 0,1)
 +      --cpuset-mems string                       Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on NUMA systems.
 +      --decryption-key stringArray               Key needed to decrypt the image (e.g. /path/to/key.pem)
 +  -d, --detach                                   Run container in background and print container ID
 +      --detach-keys [a-Z]                        Override the key sequence for detaching a container. Format is a single character [a-Z] or a comma separated sequence of `ctrl-&lt;value&gt;`, where `&lt;value&gt;` is one of: `a-cf`, `@`, `^`, `[`, `\`, `]`, `^` or `_` (default &quot;ctrl-p,ctrl-q&quot;)
 +      --device stringArray                       Add a host device to the container
 +      --device-cgroup-rule strings               Add a rule to the cgroup allowed devices list
 +      --device-read-bps stringArray              Limit read rate (bytes per second) from a device (e.g. --device-read-bps=/dev/sda:1mb)
 +      --device-read-iops stringArray             Limit read rate (IO per second) from a device (e.g. --device-read-iops=/dev/sda:1000)
 +      --device-write-bps stringArray             Limit write rate (bytes per second) to a device (e.g. --device-write-bps=/dev/sda:1mb)
 +      --device-write-iops stringArray            Limit write rate (IO per second) to a device (e.g. --device-write-iops=/dev/sda:1000)
 +      --disable-content-trust                    This is a Docker specific option and is a NOOP
 +      --dns strings                              Set custom DNS servers
 +      --dns-option strings                       Set custom DNS options
 +      --dns-search strings                       Set custom DNS search domains
 +      --entrypoint string                        Overwrite the default ENTRYPOINT of the image
 +  -e, --env stringArray                          Set environment variables in container (default [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin])
 +      --env-file stringArray                     Read in a file of environment variables
 +      --env-host                                 Use all current host environment variables in container
 +      --env-merge stringArray                    Preprocess environment variables from image before injecting them into the container
 +      --expose strings                           Expose a port or a range of ports
 +      --gidmap strings                           GID map to use for the user namespace
 +      --gpus strings                             GPU devices to add to the container (&apos;all&apos; to pass all GPUs)
 +      --group-add strings                        Add additional groups to the primary container process. &apos;keep-groups&apos; allows container processes to use supplementary groups.
 +      --group-entry string                       Entry to write to /etc/group
 +      --health-cmd string                        set a healthcheck command for the container (&apos;none&apos; disables the existing healthcheck)
 +      --health-interval string                   set an interval for the healthcheck. (a value of disable results in no automatic timer setup)  (default &quot;30s&quot;)
 +      --health-log-destination string            set the destination of the HealthCheck log. Directory path, local or events_logger (local use container state file)  (default &quot;local&quot;)
 +      --health-max-log-count uint                set maximum number of attempts in the HealthCheck log file. (&apos;0&apos; value means an infinite number of attempts in the log file) (default 5)
 +      --health-max-log-size uint                 set maximum length in characters of stored HealthCheck log. (&apos;0&apos; value means an infinite log length) (default 500)
 +      --health-on-failure string                 action to take once the container turns unhealthy (default &quot;none&quot;)
 +      --health-retries uint                      the number of retries allowed before a healthcheck is considered to be unhealthy (default 3)
 +      --health-start-period string               the initialization time needed for a container to bootstrap (default &quot;0s&quot;)
 +      --health-startup-cmd string                Set a startup healthcheck command for the container
 +      --health-startup-interval string           Set an interval for the startup healthcheck.  (default &quot;30s&quot;)
 +      --health-startup-retries uint              Set the maximum number of retries before the startup healthcheck will restart the container
 +      --health-startup-success uint              Set the number of consecutive successes before the startup healthcheck is marked as successful and the normal healthcheck begins (0 indicates any success will start the regular healthcheck)
 +      --health-startup-timeout string            Set the maximum amount of time that the startup healthcheck may take before it is considered failed (default &quot;30s&quot;)
 +      --health-timeout string                    the maximum time allowed to complete the healthcheck before an interval is considered failed (default &quot;30s&quot;)
 +      --help                                     
 +  -h, --hostname string                          Set container hostname
 +      --hosts-file string                        Base file to create the /etc/hosts file inside the container, or one of the special values. (&quot;image&quot;|&quot;none&quot;)
 +      --hostuser strings                         Host user account to add to /etc/passwd within container
 +      --http-proxy                               Set proxy environment variables in the container based on the host proxy vars (default true)
 +      --image-volume string                      Tells podman how to handle the builtin image volumes (&quot;bind&quot;|&quot;tmpfs&quot;|&quot;ignore&quot;) (default &quot;anonymous&quot;)
 +      --init                                     Run an init binary inside the container that forwards signals and reaps processes
 +      --init-path string                         Path to the container-init binary
 +  -i, --interactive                              Make STDIN available to the contained process
 +      --ip string                                Specify a static IPv4 address for the container
 +      --ip6 string                               Specify a static IPv6 address for the container
 +      --ipc string                               IPC namespace to use
 +  -l, --label stringArray                        Set metadata on container
 +      --label-file stringArray                   Read in a line delimited file of labels
 +      --log-driver string                        Logging driver for the container (default &quot;journald&quot;)
 +      --log-opt stringArray                      Logging driver options
 +      --mac-address string                       Container MAC address (e.g. 92:d0:c6:0a:29:33)
 +  -m, --memory &lt;number&gt;[&lt;unit&gt;                 Memory limit (format: &lt;number&gt;[&lt;unit&gt;], where unit = b (bytes), k (kibibytes), m (mebibytes), or g (gibibytes))
 +      --memory-reservation &lt;number&gt;[&lt;unit&gt;     Memory soft limit (format: &lt;number&gt;[&lt;unit&gt;], where unit = b (bytes), k (kibibytes), m (mebibytes), or g (gibibytes))
 +      --memory-swap string                       Swap limit equal to memory plus swap: &apos;-1&apos; to enable unlimited swap
 +      --memory-swappiness int                    Tune container memory swappiness (0 to 100, or -1 for system default) (default -1)
 +      --mount stringArray                        Attach a filesystem mount to the container
 +      --name string                              Assign a name to the container
 +      --network stringArray                      Connect a container to a network
 +      --network-alias strings                    Add network-scoped alias for the container
 +      --no-healthcheck                           Disable healthchecks on container
 +      --no-hostname                              Do not create /etc/hostname within the container, instead use the version from the image
 +      --no-hosts                                 Do not create /etc/hosts within the container, instead use the version from the image
 +      --oom-kill-disable                         Disable OOM Killer
 +      --oom-score-adj int                        Tune the host&apos;s OOM preferences (-1000 to 1000)
 +      --os OS                                    use OS instead of the running OS for choosing images
 +      --passwd                                   add entries to /etc/passwd and /etc/group (default true)
 +      --passwd-entry string                      Entry to write to /etc/passwd
 +      --personality string                       Configure execution domain using personality (e.g., LINUX/LINUX32)
 +      --pid string                               PID namespace to use
 +      --pidfile string                           Write the container process ID to the file
 +      --pids-limit int                           Tune container pids limit (set -1 for unlimited) (default 2048)
 +      --platform string                          Specify the platform for selecting the image.  (Conflicts with --arch and --os)
 +      --pod string                               Run container in an existing pod
 +      --pod-id-file string                       Read the pod ID from the file
 +      --preserve-fd uints                        Pass a file descriptor into the container (default [])
 +      --preserve-fds uint                        Pass a number of additional file descriptors into the container
 +      --privileged                               Give extended privileges to container
 +  -p, --publish strings                          Publish a container&apos;s port, or a range of ports, to the host (default [])
 +  -P, --publish-all                              Publish all exposed ports to random ports on the host interface
 +      --pull string                              Pull image policy (&quot;always&quot;|&quot;missing&quot;|&quot;never&quot;|&quot;newer&quot;) (default &quot;missing&quot;)
 +  -q, --quiet                                    Suppress output information when pulling images
 +      --rdt-class string                         Class of Service (COS) that the container should be assigned to
 +      --read-only                                Make containers root filesystem read-only
 +      --read-only-tmpfs                          When running --read-only containers mount read-write tmpfs on /dev, /dev/shm, /run, /tmp and /var/tmp (default true)
 +      --replace                                  If a container with the same name exists, replace it
 +      --requires strings                         Add one or more requirement containers that must be started before this container will start
 +      --restart string                           Restart policy to apply when a container exits (&quot;always&quot;|&quot;no&quot;|&quot;never&quot;|&quot;on-failure&quot;|&quot;unless-stopped&quot;)
 +      --retry uint                               number of times to retry in case of failure when performing pull (default 3)
 +      --retry-delay string                       delay between retries in case of pull failures
 +      --rm                                       Remove container and any anonymous unnamed volume associated with the container after exit
 +      --rmi                                      Remove image unless used by other containers, implies --rm
 +      --rootfs                                   The first argument is not an image but the rootfs to the exploded container
 +      --sdnotify string                          control sd-notify behavior (&quot;container&quot;|&quot;conmon&quot;|&quot;healthy&quot;|&quot;ignore&quot;) (default &quot;container&quot;)
 +      --seccomp-policy string                    Policy for selecting a seccomp profile (experimental) (default &quot;default&quot;)
 +      --secret stringArray                       Add secret to container
 +      --security-opt stringArray                 Security Options
 +      --shm-size &lt;number&gt;[&lt;unit&gt;               Size of /dev/shm (format: &lt;number&gt;[&lt;unit&gt;], where unit = b (bytes), k (kibibytes), m (mebibytes), or g (gibibytes)) (default &quot;65536k&quot;)
 +      --shm-size-systemd &lt;number&gt;[&lt;unit&gt;       Size of systemd specific tmpfs mounts (/run, /run/lock) (format: &lt;number&gt;[&lt;unit&gt;], where unit = b (bytes), k (kibibytes), m (mebibytes), or g (gibibytes))
 +      --sig-proxy                                Proxy received signals to the process (default true)
 +      --stop-signal string                       Signal to stop a container. Default is SIGTERM
 +      --stop-timeout uint                        Timeout (in seconds) that containers stopped by user command have to exit. If exceeded, the container will be forcibly stopped via SIGKILL. (default 10)
 +      --subgidname string                        Name of range listed in /etc/subgid for use in user namespace
 +      --subuidname string                        Name of range listed in /etc/subuid for use in user namespace
 +      --sysctl strings                           Sysctl options
 +      --systemd string                           Run container in systemd mode (&quot;true&quot;|&quot;false&quot;|&quot;always&quot;) (default &quot;true&quot;)
 +      --timeout uint                             Maximum length of time a container is allowed to run. The container will be killed automatically after the time expires.
 +      --tls-verify                               Require HTTPS and verify certificates when contacting registries for pulling images
 +      --tmpfs tmpfs                              Mount a temporary filesystem (tmpfs) into a container
 +  -t, --tty                                      Allocate a pseudo-TTY for container
 +      --tz string                                Set timezone in container
 +      --uidmap strings                           UID map to use for the user namespace
 +      --ulimit strings                           Ulimit options
 +      --umask string                             Set umask in container (default &quot;0022&quot;)
 +      --unsetenv stringArray                     Unset environment default variables in container
 +      --unsetenv-all                             Unset all default environment variables in container
 +  -u, --user string                              Username or UID (format: &lt;name|uid&gt;[:&lt;group|gid&gt;])
 +      --userns string                            User namespace to use
 +      --uts string                               UTS namespace to use
 +      --variant VARIANT                          Use VARIANT instead of the running architecture variant for choosing images
 +  -v, --volume stringArray                       Bind mount a volume into the container
 +      --volumes-from stringArray                 Mount volumes from the specified container(s)
 +  -w, --workdir string                           Working directory inside the container
 +
 +</pre></html></WRAP>
 +</WRAP>
 +
 +=== コンテナを実行したままにするには...🤔 [-t, --tty] ===
 +<WRAP color_term>
 +<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">-t</font> <font color="#A347BA">-d</font> tomoyan596/fedora41-minimal-zsh
 +</pre></html></WRAP>
 +Or
 +<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">--tty</font> <font color="#A347BA">--detach</font> tomoyan596/fedora41-minimal-zsh
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +1933208711c485d1e0b63ba3409763fe94771e10f8fee50d8995ed5a115a1bd5
 +</pre></html></WRAP>
 +</WRAP>
 +
 +起動から 4 分経過後...😉\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> ps
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +CONTAINER ID  IMAGE                                             COMMAND     CREATED        STATUS        PORTS                                                                                                           NAMES
 +200c9b8ac531  localhost/tomoyannet_litespeed:latest                         8 days ago     Up 13 hours   0.0.0.0:80-&gt;80/tcp, 0.0.0.0:443-&gt;443/tcp, 0.0.0.0:7080-&gt;7080/tcp, 0.0.0.0:8088-&gt;8088/tcp, 0.0.0.0:443-&gt;443/udp  litespeed
 +1933208711c4  localhost/tomoyan596/fedora41-minimal-zsh:latest  zsh         <b class=DiYE>4 minutes ago  Up 4 minutes</b>                                                                                                                  fedora
 +</pre></html></WRAP>
 +</WRAP>
 +
 +コンテナに入る🤔\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> exec <font color="#A347BA">-ti</font> fedora zsh
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre class=BSc>
 +<font color="#12488B">┌──(</font><font color="#F66151"><b>root💀1933208711c4</b></font>)-[<b>~</b><font color="#12488B">]</font>
 +<font color="#12488B">└─</font><font color="#F66151"><b>#</b></font>
 +</pre></html></WRAP>
 +</WRAP>
 +
 +コンテナを終了するには...🤔\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> kill fedora                                                           
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +fedora
 +</pre></html></WRAP>
 +</WRAP>
 +
 +=== コンテナを実行しシェルに入るには...🤔 [-i, --interactive] ===
 +<WRAP color_term>
 +<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
 +</pre></html></WRAP>
 +Or
 +<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">--tty</font> <font color="#A347BA">--interactive</font> tomoyan596/fedora41-minimal-zsh
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +<font color="#5F00FF">┌──(</font><font color="#F66151"><b>root 💀 23b4e150d685</b></font><font color="#5F00FF">)-[</font><b>~</b><font color="#5F00FF">]</font>
 +<font color="#5F00FF">└─</font><font color="#F66151"><b>#</b></font>
 +</pre></html></WRAP>
 +</WRAP>
 +
 +=== コンテナ内のカラーが微妙に違う...🤔ドウデモイイケドネ...😅 ===
 +気になる人のために...😉\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<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>#</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
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre class=BSc>
 +┌──(<font color="#F66151"><b>root 💀 dedcd1106d29</b></font>)-[<b>~</b>]
 +└─<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> <font color="#A347BA">-e</font> <font color="#A2734C">&quot;TERM=$TERM&quot;</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>#</b></font>
 +</pre></html></WRAP>
 +Or
 +<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">&quot;TERM=xterm-256color&quot;</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>#</b></font>
 +</pre></html></WRAP>
 +</WRAP>
 +※''$TERM'' 環境変数は通常 VTE によって設定されるが、''podman run'' または ''podman exec'' では今のところ設定されない🤔\\
 +
 +''$LS_COLORS'' は特に差異は認められない😊\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">icdiff</font> <font color="#A347BA">&lt;</font><font color="#2A7BDE"><b>(</b></font><font color="#26A269">echo</font> $LS_COLORS<font color="#2A7BDE"><b>)</b></font> <font color="#A347BA">&lt;</font><font color="#2A7BDE"><b>(</b></font><font color="#26A269">podman</font> run <font color="#A347BA">--name</font> fedora <font color="#A347BA">--rm</font> tomoyan596/fedora41-minimal-zsh echo $LS_COLORS<font color="#2A7BDE"><b>)</b></font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +<font color="#12488B">/proc/self/fd/11</font>                                         <font color="#12488B">/proc/self/fd/12</font>
 +</pre></html></WRAP>
 +</WRAP>
 +
 +一先ず ''-e "TERM=$TERM"'' で運用😅\\
 +<WRAP color_term>
 +<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 
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre class=BSc>
 +┌──(<b>tomoyan   d72536ea41c9</b>)-[<b>~</b>]
 +└─<b>$</b> <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> 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">&quot;TERM=</font><font color="#A347BA">$TERM</font><font color="#A2734C">&quot;</font> tomoyan596/openwrt_builder zsh
 +</pre></html></WRAP>
 +<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>$</b></font> 
 +</pre></html></WRAP>
 +</WRAP>
 +
 +**参考文献:**\\
 +[[https://www.baeldung.com/linux/docker-container-colored-bash-output|Displaying Colored Output in Bash Inside a Docker Container | Baeldung on Linux]]\\
 +[[https://forums.docker.com/t/wrong-colors-inside-docker-container/68322|Wrong colors inside Docker container - General - Docker Community Forums]]\\
 +[[https://www.howtogeek.com/307899/how-to-change-the-colors-of-directories-and-files-in-the-ls-command/|How to Change the Colors of Directories and Files in the ls Command]] [[gtr>https://www.howtogeek.com/307899/how-to-change-the-colors-of-directories-and-files-in-the-ls-command/|翻訳]]\\
 +[[https://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/|BASH Shell Change The Color of Shell Prompt on Linux or UNIX - nixCraft]]\\
 +[[https://superuser.com/questions/841016/how-to-configure-gnome-terminal-to-use-xterm-256color-by-default|linux - How to configure gnome-terminal to use xterm-256color by default? - Super User]]\\
 +[[https://askubuntu.com/questions/233280/gnome-terminal-reports-term-to-be-xterm/578798|Gnome-Terminal reports $TERM to be `xterm` - Ask Ubuntu]] [[gtr>https://askubuntu.com/questions/233280/gnome-terminal-reports-term-to-be-xterm/578798|翻訳]]\\
 +
 +=== 実行例 ===
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
行 297: 行 606:
 <WRAP zoomimg w600 x1_2> <WRAP zoomimg w600 x1_2>
 {{:linux:haruo_podman_001.png|haruo podman 001}} {{:linux:haruo_podman_001.png|haruo podman 001}}
 +</WRAP>
 +
 +==== イメージ保存 [save] ====
 +参考: [[https://docs.redhat.com/ja/documentation/red_hat_enterprise_linux/8/html/building_running_and_managing_containers/proc_saving-and-loading-images_assembly_working-with-container-images|4.9. イメージの保存および読み込み | Red Hat Product Documentation]]\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> images
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +REPOSITORY                               TAG            IMAGE ID      CREATED        SIZE
 +localhost/tomoyan596/openlitespeed-alma  1.8.3-lsphp83  1d487e4ea933  2 minutes ago  1.32 GB
 +localhost/fedora41-minimal               latest         00d1fdfe369c  7 hours ago    78.9 MB
 +docker.io/library/almalinux              9-minimal      0c567d066289  7 days ago     94.2 MB
 +docker.io/litespeedtech/openlitespeed    1.8.2-lsphp83  408a13a4fd7e  2 weeks ago    805 MB
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> s<font color="#999999">ave </font><font color="#A347BA">-o</font><font color="#999999"> openlitespeed-alma.1.8.3-lsphp83.tar </font><font color="#A347BA">--format=oci-archive</font><font color="#999999"> tomoyan596/openlitespeed-alma:1.8.3-lsphp83</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +Copying blob 451d7f25093d done   
 +Copying blob d80f26590c08 done   
 +Copying config 1d487e4ea9 done   
 +Writing manifest to image destination
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ll</font> <font color="#A347BA">-h</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +合計 483M
 +-rw-r--r-- 1 tomoyan tomoyan 3.4K  3月 14 16:37 Containerfile
 +-rw-r--r-- 1 tomoyan tomoyan 3.2K  3月 14 08:29 Dockerfile
 +-rwxr-xr-x 1 tomoyan tomoyan 4.0K  3月 14 17:11 <font color="#33D17A"><b>build.sh</b></font>
 +-rw-r--r-- 1 tomoyan tomoyan 1.2K  3月 14 08:29 docker.conf
 +-rw-r--r-- 1 tomoyan tomoyan  525  3月 14 08:29 entrypoint.sh
 +-rw-r--r-- 1 tomoyan tomoyan   41  3月 14 08:29 htpasswd
 +-rw-r--r-- 1 tomoyan tomoyan 483M  3月 14 17:19 <font color="#F66151"><b>openlitespeed-alma.1.8.3-lsphp83.tar</b></font>
 +-rwxr-xr-x 1 tomoyan tomoyan  671  3月 14 08:29 <font color="#33D17A"><b>setup_docker.sh</b></font>
 +</pre></html></WRAP>
 +</WRAP>
 +
 +==== イメージ読み込み [load] ====
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">rsync</font> <font color="#A347BA">-avzP</font> <font color="#A347BA">-e</font> <font color="#A2734C">&quot;ssh&quot;</font> tomoyan@wicked-beat://home/tomoyan/openlitespeed-alma.1.8.3-lsphp83.tar <u style="text-decoration-style:solid">/home/tomoyan/</u>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +receiving incremental file list
 +openlitespeed-alma.1.8.3-lsphp83.tar
 +    505,838,080 100%    2.08MB/   0:03:51 (xfr#1, to-chk=0/1)
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> load <font color="#A347BA">--input</font> <u style="text-decoration-style:solid">~/openlitespeed-alma.1.8.3-lsphp83.tar</u>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +Getting image source signatures
 +Copying blob 44266b9b5d4b done   
 +Copying blob d7970774536c done   
 +Copying config 1d487e4ea9 done   
 +Writing manifest to image destination
 +Loaded image: localhost/tomoyan596/openlitespeed-alma:1.8.3-lsphp83
 +</pre></html></WRAP>
 </WRAP> </WRAP>
  
行 501: 行 871:
 === podman-compose のインストール dnf 編 === === podman-compose のインストール dnf 編 ===
 dnf で podman-compose をインストールする場合🤔\\ dnf で podman-compose をインストールする場合🤔\\
-※fedora では OS アップグレードで Python のマイナーバージョンが変わるので、podman-compose を dnf でインストールすることをオススメします😉\\+※fedora では OS アップグレードで Python のマイナーバージョンが変わるので、podman-compose を dnf でインストールすることをオススメす😉\\
 公式: [[git>containers/podman-compose|containers/podman-compose: a script to run docker-compose.yml using podman]]\\ 公式: [[git>containers/podman-compose|containers/podman-compose: a script to run docker-compose.yml using podman]]\\
 <WRAP color_term> <WRAP color_term>
行 601: 行 971:
  
 podman-compose version 1.3.0 podman-compose version 1.3.0
-podman version 5.3.2+podman version 5.4.0
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
行 635: 行 1005:
   -a, --action {register,create-unit,list,ls}   -a, --action {register,create-unit,list,ls}
                         create systemd unit file or register compose stack to it                         create systemd unit file or register compose stack to it
 +</pre></html></WRAP>
 +</WRAP>
 +
 +=== 環境変数の永続設定 ===
 +zsh\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">cat</font> <font color="#2A7BDE"><b>&lt;&lt;</b></font> EOF <font color="#2A7BDE"><b>&gt;&gt;</b></font> <u style="text-decoration-style:solid">~/.zshrc</u>
 +</pre></html></WRAP>
 +<WRAP color_mincode><html><pre>
 +<font color="#7C7865"># podman</font>
 +<font color="#F92672">export</font><font color="#FFFFFF"> PODMAN_COMPOSE_PROVIDER</font><font color="#F92672">=</font><font color="#E6DB74">podman-compose</font>
 +<font color="#F92672">export</font><font color="#FFFFFF"> PODMAN_COMPOSE_WARNING_LOGS</font><font color="#F92672">=</font><font color="#E6DB74">false</font>
 +<font color="#F92672">export</font><font color="#FFFFFF"> DOCKER_HOST</font><font color="#F92672">=</font><font color="#E6DB74">unix://</font><font color="#FFFFFF">$XDG_RUNTIME_DIR</font><font color="#E6DB74">/podman/podman.sock</font>
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">.</font><font color="#999999"> </font><font color="#999999"><u style="text-decoration-style:solid">~/.zshrc</u></font>
 +</pre></html></WRAP>
 +</WRAP>
 +
 +bash\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">cat</font> <font color="#2A7BDE"><b>&lt;&lt;</b></font> EOF <font color="#2A7BDE"><b>&gt;&gt;</b></font> <u style="text-decoration-style:solid">~/.bashrc</u>
 +</pre></html></WRAP>
 +<WRAP color_mincode><html><pre>
 +<font color="#7C7865"># podman</font>
 +<font color="#F92672">export</font><font color="#FFFFFF"> PODMAN_COMPOSE_PROVIDER</font><font color="#F92672">=</font><font color="#E6DB74">podman-compose</font>
 +<font color="#F92672">export</font><font color="#FFFFFF"> PODMAN_COMPOSE_WARNING_LOGS</font><font color="#F92672">=</font><font color="#E6DB74">false</font>
 +<font color="#F92672">export</font><font color="#FFFFFF"> DOCKER_HOST</font><font color="#F92672">=</font><font color="#E6DB74">unix://</font><font color="#FFFFFF">$XDG_RUNTIME_DIR</font><font color="#E6DB74">/podman/podman.sock</font>
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">.</font><font color="#999999"> </font><font color="#999999"><u style="text-decoration-style:solid">~/.bashrc</u></font>
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
行 805: 行 1208:
 ==== podman compose を systemd で実行する🤔 ==== ==== podman compose を systemd で実行する🤔 ====
 podman compose には、systemd の unit ファイルを生成する機能がある🤔\\ podman compose には、systemd の unit ファイルを生成する機能がある🤔\\
 +
 +<WRAP round important 90%>
 ⚠ docker compose では、このオプションが存在しない😢\\ ⚠ docker compose では、このオプションが存在しない😢\\
 <WRAP color_term> <WRAP color_term>
行 818: 行 1223:
                         create systemd unit file or register compose stack to it                         create systemd unit file or register compose stack to it
 </pre></html></WRAP> </pre></html></WRAP>
 +</WRAP>
 +
 </WRAP> </WRAP>
  
行 1465: 行 1872:
 [[linux:podman:fedora_ubi_micro|Fedora 版の UBI Micro を独自に作る方法 (非公式😅)]]\\ [[linux:podman:fedora_ubi_micro|Fedora 版の UBI Micro を独自に作る方法 (非公式😅)]]\\
  
-==== buildah で生成されたイメージの残骸を削除する ====+==== buildah で生成された残骸を削除する ==== 
 + 
 +=== コンテナ編😅 === 
 +buildah で Containerfile をビルドしてる最中に溜まる残骸は、podman で一括削除できる🤔\\ 
 +<WRAP color_term> 
 +<WRAP color_command><html><pre> 
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">buildah</font> ps <font color="#A347BA">-a</font> 
 +</pre></html></WRAP> 
 +<WRAP color_result_hlong><html><pre> 
 +CONTAINER ID  BUILDER  IMAGE ID     IMAGE NAME                       CONTAINER NAME 
 +2ceeb04c1cde           1565199767c7                                  keen_ride 
 +92f9a3a7569e           1565199767c7                                  great_black 
 +286b737e555f           1565199767c7                                  magical_ritchie 
 +68dac70888a4           1565199767c7                                  sharp_swirles 
 +a898b3da730e           1565199767c7                                  condescending_bell 
 +2fa7241600bf           1565199767c7                                  vigilant_wright 
 +ebe85022197d           1565199767c7                                  lucid_hugle 
 +4fcc7f44b304           a6c80784cabf localhost/tomoyan/openlitespe... musing_tharp 
 +14818c52c0fb           a6c80784cabf localhost/tomoyan/openlitespe... funny_noether 
 +8312536be577           a6c80784cabf localhost/tomoyan/openlitespe... distracted_clarke 
 +2d500eb3a492           a6c80784cabf localhost/tomoyan/openlitespe... upbeat_ptolemy 
 +189ac1d8833a           a6c80784cabf localhost/tomoyan/openlitespe... ecstatic_kilby 
 +101d929c095d           a6c80784cabf localhost/tomoyan/openlitespe... sleepy_lehmann 
 +c66bc058fe82           a6c80784cabf localhost/tomoyan/openlitespe... serene_wescoff 
 +e98f5bd2a753           a6c80784cabf localhost/tomoyan/openlitespe... upbeat_driscoll 
 +49c77dc0e163           a6c80784cabf localhost/tomoyan/openlitespe... suspicious_raman 
 +725419892a75           a6c80784cabf localhost/tomoyan/openlitespe... hopeful_williams 
 +c41dff6f6b29           a6c80784cabf localhost/tomoyan/openlitespe... distracted_buck 
 +9a1dce6dfb45           a6c80784cabf localhost/tomoyan/openlitespe... zen_agnesi 
 +3b7ed57363be           a6c80784cabf localhost/tomoyan/openlitespe... quizzical_rhodes 
 +ef079d43b590           a6c80784cabf localhost/tomoyan/openlitespe... reverent_leavitt 
 +558c5c683852           a6c80784cabf localhost/tomoyan/openlitespe... admiring_galois 
 +fc55e120dbfe           a6c80784cabf localhost/tomoyan/openlitespe... angry_montalcini 
 +c105d168e16e           a6c80784cabf localhost/tomoyan/openlitespe... lucid_roentgen 
 +c58d6aac6e65           a6c80784cabf localhost/tomoyan/openlitespe... happy_chaum 
 +0647c85dcc43           a6c80784cabf localhost/tomoyan/openlitespe... bold_bhaskara 
 +b463108a95aa           a6c80784cabf localhost/tomoyan/openlitespe... confident_spence 
 +</pre></html></WRAP> 
 +<WRAP color_command><html><pre> 
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> ps <font color="#A347BA">-a</font>   
 +</pre></html></WRAP> 
 +<WRAP color_result_hlong><html><pre> 
 +CONTAINER ID  IMAGE                                          COMMAND     CREATED         STATUS                     PORTS       NAMES 
 +2ceeb04c1cde  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              4 hours ago     Exited (0) 4 hours ago     7080/tcp    keen_ride 
 +92f9a3a7569e  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              4 hours ago     Exited (0) 4 hours ago     7080/tcp    great_black 
 +286b737e555f  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              4 hours ago     Exited (0) 4 hours ago     7080/tcp    magical_ritchie 
 +68dac70888a4  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              4 hours ago     Exited (0) 4 hours ago     7080/tcp    sharp_swirles 
 +a898b3da730e  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              4 hours ago     Exited (0) 4 hours ago     7080/tcp    condescending_bell 
 +2fa7241600bf  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              4 hours ago     Exited (0) 4 hours ago     7080/tcp    vigilant_wright 
 +ebe85022197d  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              3 hours ago     Exited (0) 3 hours ago     7080/tcp    lucid_hugle 
 +4fcc7f44b304  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              3 hours ago     Exited (0) 3 hours ago     7080/tcp    musing_tharp 
 +14818c52c0fb  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              3 hours ago     Exited (0) 3 hours ago     7080/tcp    funny_noether 
 +8312536be577  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              3 hours ago     Exited (0) 3 hours ago     7080/tcp    distracted_clarke 
 +2d500eb3a492  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              3 hours ago     Exited (0) 3 hours ago     7080/tcp    upbeat_ptolemy 
 +189ac1d8833a  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              3 hours ago     Exited (0) 3 hours ago     7080/tcp    ecstatic_kilby 
 +101d929c095d  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              3 hours ago     Exited (0) 3 hours ago     7080/tcp    sleepy_lehmann 
 +c66bc058fe82  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              3 hours ago     Exited (0) 3 hours ago     7080/tcp    serene_wescoff 
 +e98f5bd2a753  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              51 minutes ago  Exited (0) 51 minutes ago  7080/tcp    upbeat_driscoll 
 +49c77dc0e163  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              41 minutes ago  Exited (0) 41 minutes ago  7080/tcp    suspicious_raman 
 +725419892a75  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              40 minutes ago  Exited (0) 40 minutes ago  7080/tcp    hopeful_williams 
 +c41dff6f6b29  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              38 minutes ago  Exited (0) 38 minutes ago  7080/tcp    distracted_buck 
 +9a1dce6dfb45  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              36 minutes ago  Exited (0) 36 minutes ago  7080/tcp    zen_agnesi 
 +3b7ed57363be  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              33 minutes ago  Exited (0) 33 minutes ago  7080/tcp    quizzical_rhodes 
 +ef079d43b590  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              31 minutes ago  Exited (0) 31 minutes ago  7080/tcp    reverent_leavitt 
 +558c5c683852  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              28 minutes ago  Exited (0) 28 minutes ago  7080/tcp    admiring_galois 
 +fc55e120dbfe  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              23 minutes ago  Exited (0) 22 minutes ago  7080/tcp    angry_montalcini 
 +c105d168e16e  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              21 minutes ago  Exited (0) 21 minutes ago  7080/tcp    lucid_roentgen 
 +c58d6aac6e65  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              17 minutes ago  Exited (0) 17 minutes ago  7080/tcp    happy_chaum 
 +0647c85dcc43  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              12 minutes ago  Exited (0) 11 minutes ago  7080/tcp    bold_bhaskara 
 +b463108a95aa  localhost/tomoyan/openlitespeed:1.8.3-lsphp83              9 minutes ago   Exited (0) 8 minutes ago   7080/tcp    confident_spence 
 +</pre></html></WRAP> 
 +<WRAP color_command><html><pre> 
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> rm <font color="#A347BA">-a</font>                  
 +</pre></html></WRAP> 
 +<WRAP color_result_hlong><html><pre> 
 +2d500eb3a4921b9ecea8b6c452978ace26f1374c73274759c677d0d63b08c73a 
 +c66bc058fe8257bdcf628cdf6a447dce33ca7be7fa51d5a353364deb63cfb732 
 +49c77dc0e163b1a0aac83d1e73860a56cf103ca9778047383721aa8830614b3b 
 +2ceeb04c1cdebf89c507f83362d18126a2a1607f8b2ce677d333c44b9f57c25b 
 +286b737e555f82a45bd1b48b3055aff3d7fbd2df2525a6e4d01018af48f72996 
 +0647c85dcc43f16fd63b30146d6c10334a62494a9ca2a8bd47a12ec6361a9a88 
 +14818c52c0fbbee78522af5ac71f82132b32df8f2462b1830755fa176af337ae 
 +189ac1d8833a91db9a1083f7ad87529d99c4bfbeaca501af737570f2880eed44 
 +101d929c095d3067c2ed59664af69b0d32c89d06063ee6392e4bddcb10a2dda6 
 +9a1dce6dfb453fb77ce8c107748c47560509a8061f6713641e8b3c7abf22c278 
 +3b7ed57363be9333e4f6da781baa82be89557b64e16bf265d02d131f27ef3692 
 +b463108a95aaf26236b422a68e7e3cd3230f6f9d52e388908f675975212d3ba3 
 +ef079d43b590bd44dd7b1803f7adcc68ee2c341dd7ad31ba0fd4c9334cba52af 
 +2fa7241600bfc41f7f530c792d5e154aaa95aa09587c490ae84d5cf7f3f1a605 
 +c58d6aac6e658ab90cb7ca2dfa74afcfdeaa352166a107bd6d0a48cde004efe4 
 +558c5c6838523c66ff535a79221a16dcba890de6c045c6670b0408d2baff3a38 
 +8312536be577087b861e1a47e1960f4131d0001069b776fc91288e5d82b010ba 
 +a898b3da730e9d21a5bafcf28d9466ad03ac0141e682284c41f917bb904b9b2d 
 +c41dff6f6b290d2c341ab6330ea3d73f3a45a337f27951e8748887d95af2e5df 
 +ebe85022197dc8f422cc9d89982821683f54a68535e43998ccabdf5d897aa83f 
 +68dac70888a4967e189955decbf0a67e03e9a41775a3063af10d9dcb873e5184 
 +c105d168e16e04fba3622c99673cffc9874dfd8453be69114f28de511d90dea8 
 +fc55e120dbfe91ab19617578df9bb3cad03ec8f548567b3ea2acaedee5de426f 
 +92f9a3a7569e4d4a37c8840212c509f7642a0f2bb8efd62b0b48ca8e8407b2d0 
 +4fcc7f44b3044560ec482e71c1d72f800dd65940e4af2f14ff567f3a6162ade6 
 +725419892a7583f93720a4d479d6e5dbd134beb144103de7f73055f11e768e33 
 +e98f5bd2a753f577a71cd479aee001bf1eda5e32f78a8c4c107361f3c0b9ed7c 
 +</pre></html></WRAP> 
 +<WRAP color_command><html><pre> 
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">buildah</font> ps <font color="#A347BA">-a</font> 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre> 
 +CONTAINER ID  BUILDER  IMAGE ID     IMAGE NAME                       CONTAINER NAME 
 +</pre></html></WRAP> 
 +</WRAP> 
 + 
 +=== イメージ編😂 === 
 +buildah, grep, awk, xargs で削除するしかないと思われる🤔\\ 
 +<WRAP color_term> 
 +<WRAP color_command><html><pre> 
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">buildah</font> images          
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre> 
 +REPOSITORY                              TAG             IMAGE ID       CREATED         SIZE 
 +localhost/tomoyan/openlitespeed         1.8.3-lsphp83   50fedcf000fc   3 minutes ago   1.32 GB 
 +&lt;none&gt;                                  &lt;none&gt;          a6c80784cabf   4 hours ago     860 MB 
 +&lt;none&gt;                                  &lt;none&gt;          1565199767c7   5 hours ago     848 MB 
 +&lt;none&gt;                                  &lt;none&gt;          f118daf37f8d   5 hours ago     844 MB 
 +localhost/fedora41-minimal              latest          00d1fdfe369c   6 hours ago     78.9 MB 
 +&lt;none&gt;                                  &lt;none&gt;          5dfcd8a2bfed   6 hours ago     78.9 MB 
 +&lt;none&gt;                                  &lt;none&gt;          4a6cd3c8ded8   6 hours ago     78.9 MB 
 +&lt;none&gt;                                  &lt;none&gt;          cc810f599f34   6 hours ago     78.9 MB 
 +&lt;none&gt;                                  &lt;none&gt;          72a321525507   6 hours ago     78.9 MB 
 +localhost/litespeedtech/openlitespeed   1.8.3-lsphp83   8406c2bd138a   6 hours ago     1.32 GB 
 +&lt;none&gt;                                  &lt;none&gt;          c153a34f4bff   6 hours ago     78.9 MB 
 +docker.io/library/almalinux             9-minimal       0c567d066289   6 days ago      94.2 MB 
 +</pre></html></WRAP> 
 +<WRAP color_command><html><pre> 
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">buildah</font> images <font color="#2A7BDE"><b>|</b></font> <font color="#26A269">grep</font> none 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre> 
 +&lt;<font color="#F66151"><b>none</b></font>&gt;                                  &lt;<font color="#F66151"><b>none</b></font>&gt;          a6c80784cabf   4 hours ago     860 MB 
 +&lt;<font color="#F66151"><b>none</b></font>&gt;                                  &lt;<font color="#F66151"><b>none</b></font>&gt;          1565199767c7   5 hours ago     848 MB 
 +&lt;<font color="#F66151"><b>none</b></font>&gt;                                  &lt;<font color="#F66151"><b>none</b></font>&gt;          f118daf37f8d   5 hours ago     844 MB 
 +&lt;<font color="#F66151"><b>none</b></font>&gt;                                  &lt;<font color="#F66151"><b>none</b></font>&gt;          5dfcd8a2bfed   6 hours ago     78.9 MB 
 +&lt;<font color="#F66151"><b>none</b></font>&gt;                                  &lt;<font color="#F66151"><b>none</b></font>&gt;          4a6cd3c8ded8   6 hours ago     78.9 MB 
 +&lt;<font color="#F66151"><b>none</b></font>&gt;                                  &lt;<font color="#F66151"><b>none</b></font>&gt;          cc810f599f34   6 hours ago     78.9 MB 
 +&lt;<font color="#F66151"><b>none</b></font>&gt;                                  &lt;<font color="#F66151"><b>none</b></font>&gt;          72a321525507   6 hours ago     78.9 MB 
 +&lt;<font color="#F66151"><b>none</b></font>&gt;                                  &lt;<font color="#F66151"><b>none</b></font>&gt;          c153a34f4bff   6 hours ago     78.9 MB 
 +</pre></html></WRAP> 
 +<WRAP color_command><html><pre> 
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">buildah</font> images <font color="#2A7BDE"><b>|</b></font> <font color="#26A269">grep</font> none <font color="#2A7BDE"><b>|</b></font> <font color="#26A269">awk</font> <font color="#A2734C">&apos;</font><font color="#2A7BDE"><b>{</b></font><font color="#A2734C"> print $3; </font><font color="#2A7BDE"><b>}</b></font><font color="#A2734C">&apos;</font> <font color="#2A7BDE"><b>|</b></font> <font color="#26A269">xargs</font> buildah rmi 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre> 
 +a6c80784cabf5de2e336061048dbeff0d503254943e7a92263c08376143d7a56 
 +1565199767c797f6770fc3ae3643a476265c7ba6e2078b563c403529102ccc31 
 +f118daf37f8d27f2bb047c5140905c8250f09e540cf29c316021fe6ca2667686 
 +5dfcd8a2bfedcbb6c683d867429def6db56069c35b07e5c652ef8827c39020a8 
 +4a6cd3c8ded8db76c738eb3e97f945366cdbddd66f6ba263c84c3d10aaa403fc 
 +cc810f599f343bd48648f73720cd69850761b3d7488721006b8fa052da42714b 
 +72a32152550779dafc19558b01080316969f50548b49a75f24d960890f1a5de9 
 +c153a34f4bff1a48caa091a94ce6f70fd58e2df767fcef1949c363779e0d8bcc 
 +</pre></html></WRAP> 
 +<WRAP color_command><html><pre> 
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">buildah</font> images 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre> 
 +REPOSITORY                              TAG             IMAGE ID       CREATED         SIZE 
 +localhost/tomoyan/openlitespeed         1.8.3-lsphp83   50fedcf000fc   6 minutes ago   1.32 GB 
 +localhost/fedora41-minimal              latest          00d1fdfe369c   6 hours ago     78.9 MB 
 +localhost/litespeedtech/openlitespeed   1.8.3-lsphp83   8406c2bd138a   6 hours ago     1.32 GB 
 +docker.io/library/almalinux             9-minimal       0c567d066289   6 days ago      94.2 MB 
 +</pre></html></WRAP> 
 +</WRAP>
  
 ===== systemd-nspawn ===== ===== systemd-nspawn =====
行 1652: 行 2227:
  
 ==== Error: cannot re-exec process to join the existing user namespace エラーが発生する💩🤪 ==== ==== Error: cannot re-exec process to join the existing user namespace エラーが発生する💩🤪 ====
-[[git>containers/podman/issues/9137|podman rootless causes Error: cannot re-exec process · Issue #9137 · containers/podman]] issues は閉じているが再現性はありそう...🤔\\+[[git>containers/podman/issues/9137|podman rootless causes Error: cannot re-exec process · Issue #9137 · containers/podman]]\\ 
 +issues は閉じているが再現性はありそう...🤔\\
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
行 1665: 行 2241:
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
 Error: cannot re-exec process to join the existing user namespace Error: cannot re-exec process to join the existing user namespace
 +</pre></html></WRAP>
 +</WRAP>
 +
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> info <font color="#A347BA">--log-level=debug</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +<font color="#2AA1B3">INFO</font>[0000] podman filtering at log level debug          
 +<font color="#D0CFCC">DEBU</font>[0000] Called info.PersistentPreRunE(podman info --log-level=debug) 
 +<font color="#D0CFCC">DEBU</font>[0000] Using conmon: &quot;/usr/bin/conmon&quot;              
 +<font color="#2AA1B3">INFO</font>[0000] Using sqlite as database backend             
 +<font color="#D0CFCC">DEBU</font>[0000] Using graph driver overlay                   
 +<font color="#D0CFCC">DEBU</font>[0000] Using graph root /home/tomoyan/.local/share/containers/storage 
 +<font color="#D0CFCC">DEBU</font>[0000] Using run root /run/user/1000/containers     
 +<font color="#D0CFCC">DEBU</font>[0000] Using static dir /home/tomoyan/.local/share/containers/storage/libpod 
 +<span style="background-color:#303030"><font color="#D0CFCC">DEBU</font>[0000] Using tmp dir /run/user/1000/libpod/tmp</span>
 +<font color="#D0CFCC">DEBU</font>[0000] Using volume path /home/tomoyan/.local/share/containers/storage/volumes 
 +<font color="#D0CFCC">DEBU</font>[0000] Using transient store: false                 
 +<font color="#D0CFCC">DEBU</font>[0000] Not configuring container store              
 +<font color="#D0CFCC">DEBU</font>[0000] Initializing event backend journald          
 +<font color="#D0CFCC">DEBU</font>[0000] Configured OCI runtime crun-vm initialization failed: no valid executable found for OCI runtime crun-vm: invalid argument 
 +<font color="#D0CFCC">DEBU</font>[0000] Configured OCI runtime crun-wasm initialization failed: no valid executable found for OCI runtime crun-wasm: invalid argument 
 +<font color="#D0CFCC">DEBU</font>[0000] Configured OCI runtime runsc initialization failed: no valid executable found for OCI runtime runsc: invalid argument 
 +<font color="#D0CFCC">DEBU</font>[0000] Configured OCI runtime runj initialization failed: no valid executable found for OCI runtime runj: invalid argument 
 +<font color="#D0CFCC">DEBU</font>[0000] Configured OCI runtime kata initialization failed: no valid executable found for OCI runtime kata: invalid argument 
 +<font color="#D0CFCC">DEBU</font>[0000] Configured OCI runtime youki initialization failed: no valid executable found for OCI runtime youki: invalid argument 
 +<font color="#D0CFCC">DEBU</font>[0000] Configured OCI runtime krun initialization failed: no valid executable found for OCI runtime krun: invalid argument 
 +<font color="#D0CFCC">DEBU</font>[0000] Configured OCI runtime ocijail initialization failed: no valid executable found for OCI runtime ocijail: invalid argument 
 +<font color="#D0CFCC">DEBU</font>[0000] Using OCI runtime &quot;/usr/bin/crun&quot;            
 +Error: cannot re-exec process to join the existing user namespace
 +<font color="#D0CFCC">DEBU</font>[0000] Shutting down engines
 +</pre></html></WRAP>
 +</WRAP>
 +
 +pause.pid ファイルを削除する🤔\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ll</font> <u style="text-decoration-style:solid">/run/user/1000/libpod/tmp</u>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +合計 4
 +-rw-r--r-- 1 tomoyan tomoyan  0  3月  9 18:44 alive.lck
 +drwxr-x--- 2 tomoyan tomoyan 40  3月  9 18:44 <font color="#2A7BDE"><b>exits</b></font>
 +-rw------- 1 tomoyan tomoyan  4  3月  9 18:44 pause.pid
 +drwxr-x--- 2 tomoyan tomoyan 40  3月  9 18:44 <font color="#2A7BDE"><b>persist</b></font>
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">rm</font> <u style="text-decoration-style:solid">/run/user/1000/libpod/tmp/pause.pid</u>
 +</pre></html></WRAP>
 +</WRAP>
 +
 +直りかけてる😅\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> info                           
 +</pre></html></WRAP>
 +<WRAP color_result_hlong><html><pre>
 +<font color="#C01C28">ERRO</font>[0001] Refreshing container a73c4feefec519d0b18dd13a955c636b81d0bb2262a0e1470bee568c34d6ffc6: acquiring lock 0 for container a73c4feefec519d0b18dd13a955c636b81d0bb2262a0e1470bee568c34d6ffc6: file exists 
 +<font color="#C01C28">ERRO</font>[0001] Refreshing container 76aff8cb4c13d29eedae642a3325d918cca323305dc9868722392e0e7223e2ca: acquiring lock 3 for container 76aff8cb4c13d29eedae642a3325d918cca323305dc9868722392e0e7223e2ca: file exists 
 +<font color="#C01C28">ERRO</font>[0001] Refreshing container 4b43c91679d41d759157e11cc0f1a05ba4ed856c7bf9e5114c33b4030cb4ea0e: acquiring lock 4 for container 4b43c91679d41d759157e11cc0f1a05ba4ed856c7bf9e5114c33b4030cb4ea0e: file exists 
 +<font color="#C01C28">ERRO</font>[0001] Refreshing container 3cf768d5281ef6bfbc3ed623e9b6f8c18c4a54a2fbc5065fa16ffcd196656961: acquiring lock 12 for container 3cf768d5281ef6bfbc3ed623e9b6f8c18c4a54a2fbc5065fa16ffcd196656961: file exists 
 +<font color="#C01C28">ERRO</font>[0001] Refreshing container f51a41ad46efeaeb690624795d6cbaccc4fd8515ab9f4c1e4e7df9f6b837036f: acquiring lock 13 for container f51a41ad46efeaeb690624795d6cbaccc4fd8515ab9f4c1e4e7df9f6b837036f: file exists 
 +<font color="#C01C28">ERRO</font>[0001] Refreshing container 6b9ccacf59c619b16f83c888c5bf69527444ba19ad7357753f00a584ba0828ce: acquiring lock 11 for container 6b9ccacf59c619b16f83c888c5bf69527444ba19ad7357753f00a584ba0828ce: file exists 
 +<font color="#C01C28">ERRO</font>[0001] Refreshing container 403c1022d6fd966ea90b2cdf6fb85e2abd69d040d82e924d3eca79c5baad3e0f: acquiring lock 14 for container 403c1022d6fd966ea90b2cdf6fb85e2abd69d040d82e924d3eca79c5baad3e0f: file exists 
 +host:
 +  arch: amd64
 +  buildahVersion: 1.38.1
 +  cgroupControllers:
 +  - cpu
 +  - io
 +  - memory
 +  - pids
 +  cgroupManager: systemd
 +  cgroupVersion: v2
 +  conmon:
 +    package: conmon-2.1.12-3.fc41.x86_64
 +    path: /usr/bin/conmon
 +    version: &apos;conmon version 2.1.12, commit: &apos;
 +  cpuUtilization:
 +    idlePercent: 92.88
 +    systemPercent: 1.38
 +    userPercent: 5.74
 +  cpus: 4
 +  databaseBackend: sqlite
 +  distribution:
 +    distribution: fedora
 +    variant: workstation
 +    version: &quot;41&quot;
 +  eventLogger: journald
 +  freeLocks: 1990
 +  hostname: WICKED-BEAT
 +  idMappings:
 +    gidmap:
 +    - container_id: 0
 +      host_id: 1000
 +      size: 1
 +    - container_id: 1
 +      host_id: 100000
 +      size: 65536
 +    uidmap:
 +    - container_id: 0
 +      host_id: 1000
 +      size: 1
 +    - container_id: 1
 +      host_id: 100000
 +      size: 65536
 +  kernel: 6.13.4-200.fc41.x86_64
 +  linkmode: dynamic
 +  logDriver: journald
 +  memFree: 633528320
 +  memTotal: 16646291456
 +  networkBackend: netavark
 +  networkBackendInfo:
 +    backend: netavark
 +    dns:
 +      package: aardvark-dns-1.14.0-1.fc41.x86_64
 +      path: /usr/libexec/podman/aardvark-dns
 +      version: aardvark-dns 1.14.0
 +    package: netavark-1.14.0-1.fc41.x86_64
 +    path: /usr/libexec/podman/netavark
 +    version: netavark 1.14.0
 +  ociRuntime:
 +    name: crun
 +    package: crun-1.20-2.fc41.x86_64
 +    path: /usr/bin/crun
 +    version: |-
 +      crun version 1.20
 +      commit: 9c9a76ac11994701dd666c4f0b869ceffb599a66
 +      rundir: /run/user/1000/crun
 +      spec: 1.0.0
 +      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL
 +  os: linux
 +  pasta:
 +    executable: /usr/bin/pasta
 +    package: passt-0^20250217.ga1e48a0-2.fc41.x86_64
 +    version: &quot;&quot;
 +  remoteSocket:
 +    exists: true
 +    path: /run/user/1000/podman/podman.sock
 +  rootlessNetworkCmd: pasta
 +  security:
 +    apparmorEnabled: false
 +    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
 +    rootless: true
 +    seccompEnabled: true
 +    seccompProfilePath: /usr/share/containers/seccomp.json
 +    selinuxEnabled: false
 +  serviceIsRemote: false
 +  slirp4netns:
 +    executable: /usr/bin/slirp4netns
 +    package: slirp4netns-1.3.1-1.fc41.x86_64
 +    version: |-
 +      slirp4netns version 1.3.1
 +      commit: e5e368c4f5db6ae75c2fce786e31eef9da6bf236
 +      libslirp: 4.8.0
 +      SLIRP_CONFIG_VERSION_MAX: 5
 +      libseccomp: 2.5.5
 +  swapFree: 8589643776
 +  swapTotal: 8589930496
 +  uptime: 93h 56m 15.00s (Approximately 3.88 days)
 +  variant: &quot;&quot;
 +plugins:
 +  authorization: null
 +  log:
 +  - k8s-file
 +  - none
 +  - passthrough
 +  - journald
 +  network:
 +  - bridge
 +  - macvlan
 +  - ipvlan
 +  volume:
 +  - local
 +registries:
 +  search:
 +  - registry.fedoraproject.org
 +  - registry.access.redhat.com
 +  - docker.io
 +  - quay.io
 +  - lscr.io
 +store:
 +  configFile: /home/tomoyan/.config/containers/storage.conf
 +  containerStore:
 +    number: 49
 +    paused: 0
 +    running: 0
 +    stopped: 49
 +  graphDriverName: overlay
 +  graphOptions: {}
 +  graphRoot: /home/tomoyan/.local/share/containers/storage
 +  graphRootAllocated: 1998694907904
 +  graphRootUsed: 883433934848
 +  graphStatus:
 +    Backing Filesystem: btrfs
 +    Native Overlay Diff: &quot;true&quot;
 +    Supports d_type: &quot;true&quot;
 +    Supports shifting: &quot;false&quot;
 +    Supports volatile: &quot;true&quot;
 +    Using metacopy: &quot;false&quot;
 +  imageCopyTmpDir: /var/tmp
 +  imageStore:
 +    number: 42
 +  runRoot: /run/user/1000/containers
 +  transientStore: false
 +  volumePath: /home/tomoyan/.local/share/containers/storage/volumes
 +version:
 +  APIVersion: 5.3.2
 +  Built: 1737504000
 +  BuiltTime: Wed Jan 22 09:00:00 2025
 +  GitCommit: &quot;&quot;
 +  GoVersion: go1.23.4
 +  Os: linux
 +  OsArch: linux/amd64
 +  Version: 5.3.2
 +</pre></html></WRAP>
 +</WRAP>
 +
 +直った😂\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">podman</font> info                           
 +</pre></html></WRAP>
 +<WRAP color_result_hlong><html><pre>
 +host:
 +  arch: amd64
 +  buildahVersion: 1.38.1
 +  cgroupControllers:
 +  - cpu
 +  - io
 +  - memory
 +  - pids
 +  cgroupManager: systemd
 +  cgroupVersion: v2
 +  conmon:
 +    package: conmon-2.1.12-3.fc41.x86_64
 +    path: /usr/bin/conmon
 +    version: &apos;conmon version 2.1.12, commit: &apos;
 +  cpuUtilization:
 +    idlePercent: 92.98
 +    systemPercent: 1.36
 +    userPercent: 5.67
 +  cpus: 4
 +  databaseBackend: sqlite
 +  distribution:
 +    distribution: fedora
 +    variant: workstation
 +    version: &quot;41&quot;
 +  eventLogger: journald
 +  freeLocks: 1990
 +  hostname: WICKED-BEAT
 +  idMappings:
 +    gidmap:
 +    - container_id: 0
 +      host_id: 1000
 +      size: 1
 +    - container_id: 1
 +      host_id: 100000
 +      size: 65536
 +    uidmap:
 +    - container_id: 0
 +      host_id: 1000
 +      size: 1
 +    - container_id: 1
 +      host_id: 100000
 +      size: 65536
 +  kernel: 6.13.4-200.fc41.x86_64
 +  linkmode: dynamic
 +  logDriver: journald
 +  memFree: 630759424
 +  memTotal: 16646291456
 +  networkBackend: netavark
 +  networkBackendInfo:
 +    backend: netavark
 +    dns:
 +      package: aardvark-dns-1.14.0-1.fc41.x86_64
 +      path: /usr/libexec/podman/aardvark-dns
 +      version: aardvark-dns 1.14.0
 +    package: netavark-1.14.0-1.fc41.x86_64
 +    path: /usr/libexec/podman/netavark
 +    version: netavark 1.14.0
 +  ociRuntime:
 +    name: crun
 +    package: crun-1.20-2.fc41.x86_64
 +    path: /usr/bin/crun
 +    version: |-
 +      crun version 1.20
 +      commit: 9c9a76ac11994701dd666c4f0b869ceffb599a66
 +      rundir: /run/user/1000/crun
 +      spec: 1.0.0
 +      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL
 +  os: linux
 +  pasta:
 +    executable: /usr/bin/pasta
 +    package: passt-0^20250217.ga1e48a0-2.fc41.x86_64
 +    version: &quot;&quot;
 +  remoteSocket:
 +    exists: true
 +    path: /run/user/1000/podman/podman.sock
 +  rootlessNetworkCmd: pasta
 +  security:
 +    apparmorEnabled: false
 +    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
 +    rootless: true
 +    seccompEnabled: true
 +    seccompProfilePath: /usr/share/containers/seccomp.json
 +    selinuxEnabled: false
 +  serviceIsRemote: false
 +  slirp4netns:
 +    executable: /usr/bin/slirp4netns
 +    package: slirp4netns-1.3.1-1.fc41.x86_64
 +    version: |-
 +      slirp4netns version 1.3.1
 +      commit: e5e368c4f5db6ae75c2fce786e31eef9da6bf236
 +      libslirp: 4.8.0
 +      SLIRP_CONFIG_VERSION_MAX: 5
 +      libseccomp: 2.5.5
 +  swapFree: 8589643776
 +  swapTotal: 8589930496
 +  uptime: 94h 13m 59.00s (Approximately 3.92 days)
 +  variant: &quot;&quot;
 +plugins:
 +  authorization: null
 +  log:
 +  - k8s-file
 +  - none
 +  - passthrough
 +  - journald
 +  network:
 +  - bridge
 +  - macvlan
 +  - ipvlan
 +  volume:
 +  - local
 +registries:
 +  search:
 +  - registry.fedoraproject.org
 +  - registry.access.redhat.com
 +  - docker.io
 +  - quay.io
 +  - lscr.io
 +store:
 +  configFile: /home/tomoyan/.config/containers/storage.conf
 +  containerStore:
 +    number: 49
 +    paused: 0
 +    running: 0
 +    stopped: 49
 +  graphDriverName: overlay
 +  graphOptions: {}
 +  graphRoot: /home/tomoyan/.local/share/containers/storage
 +  graphRootAllocated: 1998694907904
 +  graphRootUsed: 883434029056
 +  graphStatus:
 +    Backing Filesystem: btrfs
 +    Native Overlay Diff: &quot;true&quot;
 +    Supports d_type: &quot;true&quot;
 +    Supports shifting: &quot;false&quot;
 +    Supports volatile: &quot;true&quot;
 +    Using metacopy: &quot;false&quot;
 +  imageCopyTmpDir: /var/tmp
 +  imageStore:
 +    number: 42
 +  runRoot: /run/user/1000/containers
 +  transientStore: false
 +  volumePath: /home/tomoyan/.local/share/containers/storage/volumes
 +version:
 +  APIVersion: 5.3.2
 +  Built: 1737504000
 +  BuiltTime: Wed Jan 22 09:00:00 2025
 +  GitCommit: &quot;&quot;
 +  GoVersion: go1.23.4
 +  Os: linux
 +  OsArch: linux/amd64
 +  Version: 5.3.2
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
行 6128: 行 7080:
 [[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]]\\
  
 ==== 付録 ==== ==== 付録 ====
  • linux/podman.1741851973.txt.gz
  • 最終更新: 2025/03/13 16:46
  • by ともやん