Page MenuHomePhabricator

mwcli dev/docker with podman
Open, LowPublic

Description

There could be some issues here with the current code as the docker SDK is used, as well as docker-compose shell commands.
Might take some untangling, but should be possible.

Event Timeline

Not 100% sure it's Podman's fault but on Fedora(where the default docker package now being podman) mw docker mediawiki create fails with:

WARNING: The NETWORK_SUBNET_PREFIX variable is not set. Defaulting to a blank string.
WARNING: The PORT variable is not set. Defaulting to a blank string.
ERROR: The Compose file '/home/redacted/.config/mwcli/mwdd/default/base.yml' is invalid because:
networks.dps.ipam.config.subnet is invalid: should use the CIDR format
services.nginx-proxy.ports contains an invalid type, it should be a number, or an object

Versions:

podman version 4.5.0
docker-compose version 1.29.2, build unknown

Was it all working with podman before?

I believe the error you mention above is unrelated and is a bug in T301002#8607168 and https://gitlab.wikimedia.org/repos/releng/cli/-/merge_requests/308
I don't think there is a ticket for this yet, os let me write one!