Skip to content

Commit 31aad4d

Browse files
authored
Clarify image removal process for Podman vs Docker
Added note about Podman image removal behavior compared to Docker.
1 parent 00263ab commit 31aad4d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deploy-manage/deploy/cloud-enterprise/migrate-ece-to-podman-hosts.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,3 +521,7 @@ Using Docker or Podman as container runtime is a configuration local to the host
521521
5. Remove the Docker allocator by following the [Delete Hosts](../../maintenance/ece/delete-ece-hosts.md) guidelines.
522522
523523
As an alternative, use the [Delete Runner](https://www.elastic.co/docs/api/doc/cloud-enterprise/operation/operation-delete-runner) API.
524+
525+
::::{note}
526+
When using Podman, removing an image with the `--force` (`-f`) option not only deletes the image reference but also removes any containers that depend on that image. This behavior differs from Docker, where forced image removal does not automatically remove running or stopped containers. Therefore, avoid using the `--force` (`-f`) option with the `docker rmi` command.
527+
::::

0 commit comments

Comments
 (0)