Comments (6)
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.
from podman-compose.
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.
from podman-compose.
@DaleBinghamSoteriaSoft You might want to download and install .whl
files (wheels, ie. binary distributions) from PyPI then:
- https://pypi.org/project/python-dotenv/#files
- https://pypi.org/project/podman-compose/#files
- IIRC PyYAML is already included in not-the-absolute-smallest package selection of RHEL as package
python3-pyyaml
Installing these by hand would be more or less equivalent to using the pip install
method.
from podman-compose.
You can download the tarball
curl -sSLO https://github.com/containers/podman-compose/archive/main.tar.gz
You can pick any version or tag instead of main.
pip3 install file.tar.gz
But as others said it's a single file script you can just put the file in bin and chmod +x
from podman-compose.
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.
from podman-compose.
Thank you both for that information. I will try those.
from podman-compose.
Related Issues (20)
- podman multiple erros starting container HOT 1
- podman-compose 1.1.0 no longer loads env file in the same directory with compose.yaml when using `-f` HOT 1
- Podman-compose mount volume incorrectly under Windows with podman machine on WSL
- Required variable syntax ("${BAR:?BAR variable missing}") not resolved when not in quotation marks since v1.1.0 (in command)
- multiple include cannot be done
- Wrongly relative path by include HOT 1
- Update the pypi version to 1.1.0 because the 1.0.6 version does not support the Compose specification for env_file HOT 6
- Codespelling tests no longer work HOT 1
- podman-compose did not process ipvlan_mode option in the docker-compose.
- Overlay Volume Mounts not working
- TypeError in podman_compose.py container_to_args HOT 1
- missing or incorrect use of --in-pod and pod-args HOT 8
- Make PodmanCompose.prefer_volume_over_mount configurable
- When no network is specified and using network_mode: host, it will use unexpected default network
- Repeated wait time options when using `podman-compose stop` HOT 1
- Typo in error message for x-podman.gidmap HOT 1
- compose does not use pasta network
- Error setting up OTBR ''extra spaces found" HOT 1
- podman-compose rebuilds an image that is up-to-date, pressumably for the environment set in docker-compose.yml HOT 1
- Environment handling needs integration tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from podman-compose.