shun
2025年4月18日 17時48分
==========
製品型番:Armadillo-610
Debian/ABOSバージョン:3.19.2-at.5
カーネルバージョン:5.10.220
==========
お世話になっております。
ABOSセミナー資料を参考にコンテナイメージを削除するコマンドを実行しました。
armadillo:~# podman images REPOSITORY TAG IMAGE ID CREATED SIZE R/O localhost/initialize latest 8c0a82c619af 30 minutes ago 89.1 MB true localhost/test1 latest d061cb853bbb 4 days ago 192 MB true localhost/teat2 latest d061cb853bbb 4 days ago 192 MB true localhost/test3 latest bbfa204d69f7 9 days ago 192 MB true localhost/test4 latest 3c6c5db27f63 10 days ago 192 MB true localhost/test5 latest 65168a75032c 6 weeks ago 186 MB true localhost/test6 latest b6806ba23c59 6 weeks ago 186 MB true armadillo:~# podman image prune -a WARNING! This will remove all dangling images. Are you sure you want to continue? [y/N] y WARN[0002] Failed to prune image 451c46fa8774c2f1d50eeceffdd72acb4c944fe7cd04969445082112bdb326d6 as it is in use: Image used by f1ac37e89e282c3da9bc5bbb56699e1c28f17e99371597dc008c2a7590c8bf2a: image is in use by a container. A container associated with containers/storage (e.g., Buildah, CRI-O, etc.) maybe associated with this image. Using the rmi command with the --force option will remove the container and image, but may cause failures for other dependent systems. WARN[0002] Failed to prune image 94a99b7b76e285dbbfc11a7495b77b85a136bab7fa68f51ee644811354c14a3e as it is in use: Image used by fcc3347eedc1198aa34768be3e96405d76f397d690a433b4ecd191d28b571c79: image is in use by a container. A container associated with containers/storage (e.g., Buildah, CRI-O, etc.) maybe associated with this image. Using the rmi command with the --force option will remove the container and image, but may cause failures for other dependent systems. WARN[0002] Failed to prune image a44ecef5a042e055ef7b217d1ad0c1455addba9765b49eb8561a3316f64474a1 as it is in use: Image used by 91f667582915369f469bdb3cf054af7ec65ca529e47000059a6ad3220cbb8df2: image is in use by a container. A container associated with containers/storage (e.g., Buildah, CRI-O, etc.) maybe associated with this image. Using the rmi command with the --force option will remove the container and image, but may cause failures for other dependent systems. WARN[0003] Failed to prune image 451c46fa8774c2f1d50eeceffdd72acb4c944fe7cd04969445082112bdb326d6 as it is in use: Image used by f1ac37e89e282c3da9bc5bbb56699e1c28f17e99371597dc008c2a7590c8bf2a: image is in use by a container. A container associated with containers/storage (e.g., Buildah, CRI-O, etc.) maybe associated with this image. Using the rmi command with the --force option will remove the container and image, but may cause failures for other dependent systems. WARN[0003] Failed to prune image 94a99b7b76e285dbbfc11a7495b77b85a136bab7fa68f51ee644811354c14a3e as it is in use: Image used by fcc3347eedc1198aa34768be3e96405d76f397d690a433b4ecd191d28b571c79: image is in use by a container. A container associated with containers/storage (e.g., Buildah, CRI-O, etc.) maybe associated with this image. Using the rmi command with the --force option will remove the container and image, but may cause failures for other dependent systems. WARN[0003] Failed to prune image a44ecef5a042e055ef7b217d1ad0c1455addba9765b49eb8561a3316f64474a1 as it is in use: Image used by 91f667582915369f469bdb3cf054af7ec65ca529e47000059a6ad3220cbb8df2: image is in use by a container. A container associated with containers/storage (e.g., Buildah, CRI-O, etc.) maybe associated with this image. Using the rmi command with the --force option will remove the container and image, but may cause failures for other dependent systems. docker.io/arm32v7/debian:bullseye-slim a698ec94ddcde9fbe41c7e6e4547cf3a504f466cabb007d6da98cafaea397e6b 5e58b10cbb5e5014ef2768dae69cbda0c87ce5da8945d72fe5ee6abec881865f da63e37cf1f276254b0e6e643f8f07574ce400dc8c4341794dc7f731c415884e 1de0758bfa776bff23d7848e48601c9497239f2b42a7b30490779b9c5f1874c5 c2774bd713039da59c7854b58d10862249a8d0a5969a9de84cee598c4e2c6a77 bc69ec67fc59a184d6ba8e1e37d01580c402ec05995033cf91a128a7151fb280 048d3228db6b35247d3518010bc99a6e40a905290eb0c03140b49f6a7b21fd31 c4ca9198d0aba6802855db882f587af0034e73289f6bdaeea37a5a45971f5e57 localhost/arm32v7/initialize_build:latest 5c2a3a6d5ec1828bc4344c98f1e90bfa5829a3ac178d1ec22d02d3a2a5263fef 49241bd430116ce4f585bf16e11033b2b556217bca80a04093505971021f7bac 87e90f41ac9c8dcea30ab2540b934d70aacd026b2f376f24bd8c7e53df483f21 512ece071a0a1f2919796a045e1d6773e53ddb710602a12e2c63e2bebbc57375 ada69a0f7f86b103c554a0308902d1d3443746609da50dbb56763ee4093fd013 23619ad26bd141ca620f6a6b0e9332ab76da9abb163992f9d84760e2177ee749 localhost/arm32v7/initialize:latest
.swuインストールをして再起動したところ、
podman-atmark |Starting 'test1' podman-atmark |6f6953445db21d272c03f0c15955489d87a1ccb176fe42376ca8038bc97c4b96 podman-atmark |Starting 'test2' local | * local: waiting for podman-atmark (50 seconds) podman-atmark |e902e00d8452bc05a58b2c47552c81b0cbdfd328694628532b460b4d7af1a2e0 podman-atmark |warning: previously set command is overwritten. The following command will NOT be executed: podman-atmark |warning: bash /etc/init.d/init.sh <=自作のシェルスクリプト podman-atmark |Starting 'test3' podman-atmark |97309f487244191304cb6a319835a6cd9bb12a34ea3c5f8043736b9cf4482edd podman-atmark |Starting 'test4' local | * local: waiting for podman-atmark (41 seconds) podman-atmark |3282a36b7f74fab1d219c58c854688264b9f0d2fb418146ee6df5e8d96fc8296 podman-atmark |Starting 'test5' podman-atmark |4329d1b45111df67025ca3bb7950cefc6f3be0cd77f42f60694eee4d1886557e podman-atmark |Starting 'test6' local | * local: waiting for podman-atmark (32 seconds) podman-atmark |84372ce6e01a075926fba067f7f8decdec4b63e07f5b84b1f6541ee82d6ac11c podman-atmark | [ ok ] local | * Starting local ... [ ok ]
初期起動でコンテナイメージを立ち上げており、削除できていないことを確認しました。
解決策を教えてください。
at_makoto.sato
2025年4月18日 18時16分
佐藤です。
以下のコマンドで削除できるかと思います。
(すべてのコンテナとコンテナイメージが削除されます)
途中で聞かれる質問には y で答えてください。