plantuml / plantuml-server

PlantUML Online Server
https://plantuml.com/
GNU General Public License v3.0
1.59k stars 463 forks source link

plantuml-server:jetty-v1.2023.10 works with podman, no more plantuml-server:jetty-v1.2023.12 #321

Open asnowfix opened 7 months ago

asnowfix commented 7 months ago

Describe the bug

Until recently, I was running a local plantuml under podman using command:

podman run --restart=unless-stopped --name plantuml -d -p 127.0.0.1:9999:8080/tcp -v /private/tmp/plantuml-aWOWPr:/tmp/jetty docker.io/plantuml/plantuml-server:jetty

Since recently, the above fails:

To Reproduce Steps to reproduce the behavior:

+ podman run --restart=unless-stopped --name plantuml -d -p 127.0.0.1:9999:8080/tcp -v /private/tmp/plantuml-3z1NL8:/tmp/jetty docker.io/plantuml/plantuml-server:jetty
Error: no such container or image: docker.io/plantuml/plantuml-server:jetty

I was able to nail-down the issue to a regression introduced by v1.2023.12:

Ok:

+ podman run --restart=unless-stopped --name plantuml -d -p 127.0.0.1:9999:8080/tcp -v /private/tmp/plantuml-Jee0j3:/tmp/jetty docker.io/plantuml/plantuml-server:jetty-v1.2023.10
5143036326d119468f390c5998b3741a9f00ff932006ae2dc13a9438de262e4d

NOk:

+ podman run --restart=unless-stopped --name plantuml -d -p 127.0.0.1:9999:8080/tcp -v /private/tmp/plantuml-mKgEwu:/tmp/jetty docker.io/plantuml/plantuml-server:jetty-v1.2023.12
Error: no such container or image: docker.io/plantuml/plantuml-server:jetty-v1.2023.12

Expected behavior

:jetty-v1.2023.12 & :jetty should both be able to start.

Screenshots

Desktop (please complete the following information):

Server: Podman Engine Version: 4.7.0 API Version: 4.7.0 Go Version: go1.20.8 Built: Wed Sep 27 20:24:38 2023 OS/Arch: linux/amd64

Additional context

verbose mode:

$ podman run --log-level=debug --restart=unless-stopped --name plantuml -d -p 127.0.0.1:9999:8080/tcp -v /private/tmp/plantuml-dGx5Im:/tmp/jetty docker.io/plantuml/plantuml-server:jetty
INFO[0000] podman filtering at log level debug          
DEBU[0000] Called run.PersistentPreRunE(podman run --log-level=debug --restart=unless-stopped --name plantuml -d -p 127.0.0.1:9999:8080/tcp -v /private/tmp/plantuml-dGx5Im:/tmp/jetty docker.io/plantuml/plantuml-server:jetty) 
DEBU[0000] SSH Ident Key "/Users/fkowalski/.ssh/podman-machine-default" SHA256:5Gw/fFByXSukMpdIKaxpVSLGSSsu2IuEerqqOrNixq0 ssh-ed25519 
DEBU[0000] DoRequest Method: GET URI: http://d/v4.8.0/libpod/_ping 
DEBU[0000] DoRequest Method: GET URI: http://d/v4.8.0/libpod/networks/pasta/exists 
DEBU[0000] Adding port mapping from 9999 to 8080 length 1 protocol "tcp" 
DEBU[0000] Loading registries configuration "/etc/containers/registries.conf" 
DEBU[0000] Found credentials for dockerhub.rnd.amadeus.net in credential helper containers-auth.json in file /Users/fkowalski/.config/containers/auth.json 
DEBU[0000] DoRequest Method: POST URI: http://d/v4.8.0/libpod/images/pull 
DEBU[0000] User or group ID mappings not available: open /proc/self/uid_map: no such file or directory 
DEBU[0000] User or group ID mappings not available: open /proc/self/uid_map: no such file or directory 
DEBU[0000] User mount /private/tmp/plantuml-dGx5Im:/tmp/jetty options [] 
DEBU[0000] DoRequest Method: GET URI: http://d/v4.8.0/libpod/images/docker.io%2Fplantuml%2Fplantuml-server:jetty/json 
Error: no such container or image: docker.io/plantuml/plantuml-server:jetty
DEBU[0000] Shutting down engines