-
Notifications
You must be signed in to change notification settings - Fork 494
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
Support podman-compose build --format docker #354
Comments
you can already pass it like this
unless you suggest making it passed by default @rhatdan what do you think? |
@muayyad-alsadi thanks for letting me know. Was not aware of that flag. But it seems not to work somehow $ podman-compose --podman-build-args='--format docker' build
usage: podman-compose [-h] [-f FILE] [-p PROJECT_NAME] [--podman-path PODMAN_PATH] [--no-ansi] [--no-cleanup] [--dry-run]
[-t {1pod,1podfw,hostnet,cntnet,publishall,identity}]
{pull,push,build,up,down,run,start,stop,restart} ...
podman-compose: error: argument command: invalid choice: '--podman-build-args=--format docker' (choose from 'pull', 'push', 'build', 'up', 'down', 'run', 'start', 'stop', 'restart') Is there a specific version necessary respectively a specific podman version? |
Try latest devel branch of podman-compose
…On Sat, Nov 13, 2021, 7:38 PM Carsten Sauerbrey ***@***.***> wrote:
@muayyad-alsadi <https://github.com/muayyad-alsadi> thanks for letting me
know. Was not aware of that flag.
But it seems not to work somehow
$ podman-compose --podman-build-args='--format docker' build
usage: podman-compose [-h] [-f FILE] [-p PROJECT_NAME] [--podman-path PODMAN_PATH] [--no-ansi] [--no-cleanup] [--dry-run]
[-t {1pod,1podfw,hostnet,cntnet,publishall,identity}]
{pull,push,build,up,down,run,start,stop,restart} ...
podman-compose: error: argument command: invalid choice: '--podman-build-args=--format docker' (choose from 'pull', 'push', 'build', 'up', 'down', 'run', 'start', 'stop', 'restart')
Is there a specific version necessary respectively a specific podman
version?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#354 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKAPK26BO42OWS3VLCTHQLUL2PCXANCNFSM5H3NVA2Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@casabre you seems to have an older version of podman-compose |
@muayyad-alsadi I installed the pypi.org version which was available at the time raising the issue. I go for an update and thanks for the info. |
Is your feature request related to a problem? Please describe.
I have a docker-compose file which has also some build sections. Some of the Dockerfiles are using
SHELL ["/bin/bash", "-c"]
. When running podman-compose build, serveralare popping up. See also podman #8477
Describe the solution you'd like
A forwarding of the --format docker flag to any underlying build process. Something like
podman-compose build --format docker
could do the job.Describe alternatives you've considered
None, besides building it manually.
Additional context
None
The text was updated successfully, but these errors were encountered: