Podman support in scripts#363
Conversation
|
@mattw-nws |
| echo -e " ${CHECK_MARK} $DOCKER_CMD detected (version: ${BGreen}$docker_version${Color_Off})" | ||
| else | ||
| handle_error "Docker not found. This script requires Docker to run the NextGen model." | ||
| handle_error "$DOCKER_CMD not found. This script requires Docker or Podman to run the NextGen model." |
There was a problem hiding this comment.
@mattw-nws
This check fails in Ubuntu with podman installed.
I ran with .guide.sh -p
ERROR: docker not found. This script requires Docker or Podman to run the NextGen model.
Can you please take a look?
There was a problem hiding this comment.
run: ./guide.sh -p
It will work.
|
Podman cannot directly download from docker.io, and need to add the following |
|
tested and verified. |
kamalcou
left a comment
There was a problem hiding this comment.
The changes work. For podman, unqualified-search-registries = ["docker.io"] need to be added in /etc/containers/registries.conf
|
@mattw-nws In the guide.sh line 446, |
There was a problem hiding this comment.
As a general comment that seems wholly unrelated to this PR and is probably just related to how I installed podman, I am not able to get past t-route when I run NGIAB through podman on my macbook pro (32 cores, 64 GB of RAM). The error message is pretty useless but my guess is that the VM is too small and t-route is too big? I have no issues running t-route/NGIAB on my macbook through docker.
2026-05-14 14:03:26,074 - root - INFO - [compute.py:660 - compute_nhd_routing_v02]: starting Parallel JIT calculation
/ngen/HelloNGEN.sh: line 137: 8 Killed $run_command
|
Tested on windows with WSL, macOS, ubuntu. The NextGen portion runs correctly on all OS with both docker and podman. A couple notesTEEHREDIT: TEEHR now works with podman thanks to commit 4821ed9. Keeping this here because I think it's interesting TEEHR does not work with podman because of this: TEEHR
And here is what it looks like when run through Podman: The fix is very simple, we just append There are also some issues with running NGIAB with Docker and then with Podman in that order. Docker creates the Tethys
It's probably simple enough to change the default port to |
|
@samlamont @romer8 - please take alook when you get chance, we are planning to have this feature added before DevCon if possible. |
|
Thank you Quinn for looking into this. |

Enable the use of Podman in place of Docker, primarily to support environments where Docker is not permitted.
Some additional docs are probably needed if there's interest in this, but making it available since I needed to make this modification for our environment.
Additions
-poption to substitutepodmanfordockercommand in scriptsRemovals
Updates
Testing
Method
Ran through workflows with a Podman system... not all combinations probably tested well. This might be a best-effort-to-unsupported feature.
Screenshots / output snippets
Checklist
Testing checklist
Target Environment support