hashicorp / nomad-driver-podman

A nomad task driver plugin for sandboxing workloads in podman containers
https://developer.hashicorp.com/nomad/plugins/drivers/podman
Mozilla Public License 2.0
224 stars 61 forks source link

nats_simple_pod.nomad results in namespace mode container requires a value #242

Open VissersR opened 1 year ago

VissersR commented 1 year ago

I'm trying to move containers from compose to nomad but I'm running in to a lot of issues. One is private bridge networking between a stack of containers.

Using network_mode task:taskname results in "namespace mode container requires a value" on the task that should connect to the main task.

Running nats_simple_pod.nomad gives me the same error so it is not my task configuration.

Podman: 3.0.1 Nomad: 1.5.3 Plugin: 0.4.2

I don't see anything in de example config I don't have in my client/server either

shoenig commented 1 year ago

@VissersR can you try with a more recent version of Podman?

The nats_simple_pod.nomad example is working for me on the version packaged with Ubuntu 22.04 LTS.

➜ podman --version
podman version 3.4.4