podman-compose icon indicating copy to clipboard operation
podman-compose copied to clipboard

podman-compose: error: unrecognized arguments: --no-log-prefix

Open ParetoOptimalDev opened this issue 2 years ago • 1 comments

Describe the bug

When trying podman on a codebase using docker compose I got:

podman-compose: error: unrecognized arguments: --no-log-prefix

Removing it was luckily the only thing I had to do so far, but I think it would be ideal to:

  • Allow this argument to pass through and be ignored; or
  • implement it (I think it doesn't apply to podman-compose after reading #282 though)

To Reproduce Steps to reproduce the behavior:

podman-compose up --no-log-prefix --build your-service

Expected behavior

Don't throw an error when a valid docker compose flag is used, instead warn podman-compose doesn't implement it or it doesn't apply.

Actual behavior

An error halting execution of:

podman-compose: error: unrecognized arguments: --no-log-prefix

Output

$ podman-compose version
podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 4.7.2
podman-compose version 1.0.6
podman --version 
podman version 4.7.2
exit code: 0
...

Environment:

  • OS: Linux (NixOS)
  • podman version: 4.7.2
  • podman compose version: 1.0.6

ParetoOptimalDev avatar Dec 07 '23 16:12 ParetoOptimalDev

Ignoring the argument would also be a good idea for the "--parallel" argument, that docker-compose knows, but podman-compose refuses with a podman-compose: error: unrecognized arguments: --parallel

phi1010 avatar May 02 '25 10:05 phi1010