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

podman-compose up run failure!I need some help! #401

Closed
JohyC opened this issue Jan 6, 2022 · 2 comments
Closed

podman-compose up run failure!I need some help! #401

JohyC opened this issue Jan 6, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@JohyC
Copy link

JohyC commented Jan 6, 2022

Describe the bug
A clear and concise description of what the bug is.

Please make sure it's not a bug in podman (in that case report it to podman)
or your understanding of docker-compose or how rootless containers work (for example, it's normal for rootless container not to be able to listen for port less than 1024 like 80)

please try to reproduce the bug in latest devel branch

To Reproduce
Steps to reproduce the behavior:

  1. what is the content of the current working directory (ex. docker-compose.yml, .env, Dockerfile, ...etc.)

I used https://github.com/containers/podman-compose/blob/devel/examples/busybox/docker-compose.yaml

  1. what is the sequence of commands you typed

Just use podman-compose up

please use minimal reproducible example for example give me a small busybox-based compose yaml

Expected behavior
A clear and concise description of what you expected to happen.

Actual behavior
What is the behavior you actually got and that should not happen.

Output

$ podman-compose --version

['podman', '--version', '']
using podman version: 3.0.1
podman-composer version  1.0.3
podman --version
podman version 3.0.1
exit code: 0

$ podman-compose up

error.txt


**Environment:**
 - OS: Linux 5.10.28-aml-s812 armv7l 
 - podman version: 3.0.1
 - podman compose version: (git hex) 1.0.3

**Additional context**

![image](https://user-images.githubusercontent.com/38210128/148389566-366fa0ea-110c-4e79-8ab1-6edf4ce5c66f.png)
@JohyC JohyC added the bug Something isn't working label Jan 6, 2022
@muayyad-alsadi
Copy link
Collaborator

Error: unrecognized command `podman network exists`

from the readme

If you have legacy version of podman (before 3.1.0) you might need to stick with legacy podman-compose 0.1.x branch. The legacy branch 0.1.x uses mappings and workarounds to compensate for rootless limitations.

Modern podman versions (>=3.4) do not have those limitations and thus you can use latest and stable 1.x branch.

either upgrade to podman >= 3.1.0
or use 0.1.x branch of podman-compose

@JohyC
Copy link
Author

JohyC commented Jan 6, 2022

Error: unrecognized command `podman network exists`

from the readme

If you have legacy version of podman (before 3.1.0) you might need to stick with legacy podman-compose 0.1.x branch. The legacy branch 0.1.x uses mappings and workarounds to compensate for rootless limitations.

Modern podman versions (>=3.4) do not have those limitations and thus you can use latest and stable 1.x branch.

either upgrade to podman >= 3.1.0 or use 0.1.x branch of podman-compose

Ok! I got it.thanks man!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants