You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
podman compose ps
Executing external compose provider "/usr/lib/docker/cli-plugins/docker-compose". Please see podman-compose(1) for how to disable this message
But if you specify it through the PODMAN_COMPOSE_PROVIDER variable, it works. And the setting compose_warning_logs = false just works in containers.conf
Steps to reproduce the issue
Try using compose_provider in containers.conf
Describe the results you received
remains docker compose, despite the override
Describe the results you expected
podman compose works instead of docker compose
podman info output
host:
arch: amd64buildahVersion: 1.38.0cgroupControllers:
- cpu
- memory
- pidscgroupManager: systemdcgroupVersion: v2conmon:
package: conmon-1:2.1.12-1path: /usr/bin/conmonversion: 'conmon version 2.1.12, commit: e8896631295ccb0bfdda4284f1751be19b483264'cpuUtilization:
idlePercent: 61.46systemPercent: 4.43userPercent: 34.11cpus: 8databaseBackend: sqlitedistribution:
distribution: archversion: unknowneventLogger: journaldfreeLocks: 2048hostname: pcidMappings:
gidmap:
- container_id: 0host_id: 1000size: 1
- container_id: 1host_id: 100000size: 65536uidmap:
- container_id: 0host_id: 1000size: 1
- container_id: 1host_id: 100000size: 65536kernel: 6.11.8-arch1-2linkmode: dynamiclogDriver: journaldmemFree: 6931243008memTotal: 33610612736networkBackend: netavarknetworkBackendInfo:
backend: netavarkdns:
package: aardvark-dns-1.13.1-1path: /usr/lib/podman/aardvark-dnsversion: aardvark-dns 1.13.1package: netavark-1.13.1-1path: /usr/lib/podman/netavarkversion: netavark 1.13.1ociRuntime:
name: runcpackage: runc-1.2.2-1path: /usr/bin/runcversion: |- runc version 1.2.2 spec: 1.2.0 go: go1.23.3 libseccomp: 2.5.5os: linuxpasta:
executable: /usr/bin/pastapackage: passt-2024_12_11.09478d5-1version: | pasta 2024_12_11.09478d5 Copyright Red Hat GNU General Public License, version 2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.remoteSocket:
exists: truepath: /run/user/1000/podman/podman.sockrootlessNetworkCmd: pastasecurity:
apparmorEnabled: falsecapabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOTrootless: trueseccompEnabled: trueseccompProfilePath: /etc/containers/seccomp.jsonselinuxEnabled: falseserviceIsRemote: falseslirp4netns:
executable: /usr/bin/slirp4netnspackage: slirp4netns-1.3.1-1version: |- slirp4netns version 1.3.1 commit: e5e368c4f5db6ae75c2fce786e31eef9da6bf236 libslirp: 4.8.0 SLIRP_CONFIG_VERSION_MAX: 5 libseccomp: 2.5.5swapFree: 33762832384swapTotal: 34359734272uptime: 17h 0m 30.00s (Approximately 0.71 days)variant: ""plugins:
authorization: nulllog:
- k8s-file
- none
- passthrough
- journaldnetwork:
- bridge
- macvlan
- ipvlanvolume:
- localregistries: {}store:
configFile: /home/scally/.config/containers/storage.confcontainerStore:
number: 0paused: 0running: 0stopped: 0graphDriverName: overlaygraphOptions: {}graphRoot: /home/scally/.local/share/containers/storagegraphRootAllocated: 972102053888graphRootUsed: 424063287296graphStatus:
Backing Filesystem: extfsNative Overlay Diff: "true"Supports d_type: "true"Supports shifting: "false"Supports volatile: "true"Using metacopy: "false"imageCopyTmpDir: /var/tmpimageStore:
number: 0runRoot: /run/user/1000/containerstransientStore: falsevolumePath: /home/scally/.local/share/containers/storage/volumesversion:
APIVersion: 5.3.1Built: 1732225906BuiltTime: Fri Nov 22 00:51:46 2024GitCommit: 4cbdfde5d862dcdbe450c0f1d76ad75360f67a3cGoVersion: go1.23.3Os: linuxOsArch: linux/amd64Version: 5.3.1
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
The containers.conf man page displays it correctly but I see how the statement for podman compose is misleading. I'll update the docs to highlight that.
Which other issues did you see? We're here to help.
vrothberg
added a commit
to vrothberg/libpod
that referenced
this issue
Jan 17, 2025
Fix the typo s/provider/providers/ and give a concrete example to avoid
pitfalls such as the on in containers#25023.
Signed-off-by: Valentin Rothberg <[email protected]>
Issue Description
The page https://docs.podman.io/en/v5.1.1/markdown/podman-compose.1.html says to override
compose_provider
incontainers.conf
, I do it in~/.config/containers/containers.conf
. Result:even though I prescribed:
But if you specify it through the
PODMAN_COMPOSE_PROVIDER
variable, it works. And the settingcompose_warning_logs = false
just works incontainers.conf
Steps to reproduce the issue
compose_provider
incontainers.conf
Describe the results you received
remains docker compose, despite the override
Describe the results you expected
podman compose works instead of docker compose
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: