-
The problem: I want to be able to run containers on different machines on the same host. For example, I created several machines with different parameters: disk size, mounted volumes, etc. I want to run one container with access to my mounted volumes and other containers without it. I would imagine an additional argument to container commands should exist, like: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
why do you need two machines to run one container with a volume and one without? one container would have a -v macos:vm and the other wouldn't |
Beta Was this translation helpful? Give feedback.
-
You set the |
Beta Was this translation helpful? Give feedback.
-
you can run like this: |
Beta Was this translation helpful? Give feedback.
You set the
CONTAINER_CONNECTION
environment variable, e.g.CONTAINER_CONNECTION=machine2 podman ...
Or you just run
export CONTAINER_CONNECTION=machine2
to set for you current session so you can use justpodman ...