Relative Content

Tag Archive for dockerpodman

Unreachable service in a podman container running as root

I have a webui in podman container that i want to access through my browser, browser and podman runs on the same machine. I use the following command podman run -p 7860:7860 --gpus all 8b8b975cb65b to run the container. When i use the command as non-root user, the service is accessible from browser, but it’s not when i run with sudo as root.

podman – Failed to stop any containers by using “sudo podman stop”

I have encountered a problem with podman. I have successfully ran couple containers within it. But when I issue “sudo podman stop/restart xxx”, I always get below error (used pgadmin4 as an example), then the container status stuck at “Stopping”. To recover from it, I have to restart the computer.

Convert Docker Image from Directory to Archive

When I save images using podman save, there’s an option to specify the format. Two available formats are docker-archive and docker-dir. However, podman load seems to always expect an archive. I’ve been given an image in docker-dir format and I’m having a surprisingly hard time converting it to docker-archive to load into podman. I can see how to do it manually except that there’s one hash that I don’t know how to compute.