Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install podman-compose in an air-gapped network? #924

Open
DaleBinghamSoteriaSoft opened this issue May 3, 2024 · 3 comments
Open

Comments

@DaleBinghamSoteriaSoft
Copy link

The question I have : What is the best way to install podman-compose into an air gapped (no outside Internet) network? If this is in a lab, a secure environment, or some other machine or network that has no way to run pip install podman-compose?

I do not see a way to do that from this site or podman.io. I have searched for this from other folks/articles and came up empty. Short of "install on a networked machine, make an image, push to your air-gapped network" I cannot find or think of one. And that is not an easy upgrade path when it changes.

Or do we wait for podman 5.x with podman compose built in?

@p12tic
Copy link
Collaborator

p12tic commented May 4, 2024

You can simply copy podman_compose.py file and call it directly. You will need pyyaml and dotnev installed. On Debian-based distributions these are in python3-dotnev and python3-yaml packages.

@p12tic
Copy link
Collaborator

p12tic commented May 4, 2024

By the way, podman compose will just call docker-compose or podman-compose, whichever is installed. So if you choose podman-compose it still needs to be installed.

@DaleBinghamSoteriaSoft
Copy link
Author

Ok thank you @p12tic this is on REL 8.x box but air-gapped.

So either do the podman_compose.py with the extra packages. OR install the docker-compose binary and then call podman compose.

We have pulled the latest from the RPM but 8.8 only pulls podman 4.6.1 I believe currently. We have to try podman 5 as well.

We will try this and see what we get. I appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants