Comments (8)
please try dev branch (see README.md)
from podman-compose.
Same issue on 0.1.5 (can't compare it with 2019's dev in my brain)
Probably similar to kubernetes/kompose#986 (comment)
from podman-compose.
My sysinfo: https://paste.centos.org/view/8cc6f84f
from podman-compose.
Will do.
from podman-compose.
Dev branch works. You can close this one if you like. Congratulations! ;D
from podman-compose.
Please reopen this issue. It still occurs with the development version (see example). Any numeric entry in docker-compose.yml
(for example typically port numbers) will trigger the issue.
A workaround required rewriting the YAML file:
diff --git a/docker-compose.yml b/docker-compose.yml
index f471d44..6ad9a8e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -16,13 +16,13 @@ services:
<<: *app
command: uwsgi --ini /usr/src/app/uwsgi.ini
expose:
- - 8000
+ - "8000"
channelserver:
<<: *app
command: daphne --bind 0.0.0.0 --port 5000 -v 1 escriptorium.asgi:application
expose:
- - 5000
+ - "5000"
db:
image: postgres:10.5-alpine
@@ -109,7 +109,7 @@ services:
build: ./exim
image: registry.gitlab.com/scripta/escriptorium/mail
expose:
- - 25
+ - "25"
environment:
- PRIMARY_HOST=${DOMAIN:-localhost}
- ALLOWED_HOSTS=web ; celery-main ; celery-low-priority; docker0
from podman-compose.
The failing Python statement is print(" ".join(cmd_ls))
. There are other code lines which also don't like integer list elements:
File "/home/stweil/venv/lib/python3.9/site-packages/podman_compose.py", line 719, in run
p = subprocess.Popen(cmd_ls)
File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1756, in _execute_child
self.pid = _posixsubprocess.fork_exec(
TypeError: expected str, bytes or os.PathLike object, not int
from podman-compose.
Pull request #305 should fix this issue.
from podman-compose.
Related Issues (20)
- `network_mode: none` is ignored
- Error in podman-compose up command HOT 3
- Mismatch of Documentation and Implementation of UID/GID Mappings
- Replicate environment variable from local environment fails with default `.env` -file HOT 3
- Support changing `io.podman` label domain namespace
- Doc about systemd unit generation missing or unclear?
- Add --profile to bash completion
- podman-compose up is reporting that the folder is not empty
- 'podman-compose build' builds replicate images for each service in docker-compose.yaml that share a common image.
- 1.1.0 (and perhaps above) broke the use of Containerfiles HOT 1
- Error: unknown flag: --env HOT 1
- podman-compose should throw a readable error on too old python HOT 2
- All integration tests should be run automatically HOT 1
- Environment should not be set in build context HOT 2
- Detect case when port forwarding is used together with uid/gid mapping on Podman 3.4.x and issue warning HOT 4
- podman-compose up -d <container> starts other containers in the compose file
- lint checks in CI don't currently work properly.
- Release version 1.2.0 to EPEL 8 / EPEL 9 HOT 1
- Integration tests should not use network connectivity if not necessary
- Incorrect implementation of `include` HOT 1
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.