Description of problem: I try to run: podman-compose up -d FILE BELOW add comment to port: 80:80. --- # wordPress with mariaDB version: '2' services: wordpress: image: wordpress:5.4.1 ports: # - 80:80 links: - wp-mariadb:db depends_on: - wp-mariadb volumes: - wordpress:/var/www/html/ wo-mariadb: image: mariadb:10.1.45 environment: # env-vars TODO MYSQL_ROOT_PASSOWRD: titok MYSQL_DATABASE: wordpress MYSQL_USER: wordpress MYSQL_PASSWORD: 12345678 volumes: - db:/var/lib/mysql volumes: wordpress: db: Version-Release number of selected component: podman-compose-0.1.5-3.git20191107.fc32 Additional info: reporter: libreport-2.12.0 cgroup: 0::/user.slice/user-1000.slice/user/dbus\x2d:1.2\x2dcom.gexperts.Tilix.slice/vte-spawn-09f3a5e7-0f31-4f48-8704-824aecfb0249.scope cmdline: /usr/bin/python3 /usr/bin/podman-compose up -d crash_function: container_to_args exception_type: TypeError executable: /usr/bin/podman-compose interpreter: python3-3.8.2-2.fc32.x86_64 kernel: 5.6.8-300.fc32.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: podman_compose.py:489:container_to_args:TypeError: 'NoneType' object is not iterable Traceback (most recent call last): File "/usr/bin/podman-compose", line 11, in <module> load_entry_point('podman-compose==0.1.6.dev0', 'console_scripts', 'podman-compose')() File "/usr/lib/python3.8/site-packages/podman_compose.py", line 1267, in main podman_compose.run() File "/usr/lib/python3.8/site-packages/podman_compose.py", line 755, in run cmd(self, args) File "/usr/lib/python3.8/site-packages/podman_compose.py", line 939, in wrapped return func(*args, **kw) File "/usr/lib/python3.8/site-packages/podman_compose.py", line 1059, in compose_up podman_args = container_to_args(compose, cnt, File "/usr/lib/python3.8/site-packages/podman_compose.py", line 489, in container_to_args for i in cnt.get('ports', []): TypeError: 'NoneType' object is not iterable Local variables in innermost frame: compose: <podman_compose.PodmanCompose object at 0x7f4dc1d120d0> cnt: {'name': '011-2020-05-13-podman-compose_wordpress_1', 'num': 1, 'service_name': 'wordpress', 'image': 'wordpress:5.4.1', 'ports': None, 'links': ['wp-mariadb:db'], 'depends_on': ['wp-mariadb'], 'volumes': ['wordpress:/var/www/html/'], '_deps': {'wp-mariadb'}, 'labels': ['io.podman.compose.config-hash=123', 'io.podman.compose.project=011-2020-05-13-podman-compose', 'io.podman.compose.version=0.0.1', 'com.docker.compose.container-number=1', 'com.docker.compose.service=wordpress'], '_service': 'wordpress', '_project': '011-2020-05-13-podman-compose', 'pod': '011-2020-05-13-podman-compose', 'extra_hosts': ['wordpress:127.0.0.1', '011-2020-05-13-podman-compose_wordpress_1:127.0.0.1', 'wo-mariadb:127.0.0.1', '011-2020-05-13-podman-compose_wo-mariadb_1:127.0.0.1', 'db:127.0.0.1']} detached: True podman_command: 'run' dirname: '/home/mars/Develope/000-DATED/011-2020-05-13-podman-compose' shared_vols: {'wordpress', 'db'} pod: '011-2020-05-13-podman-compose' podman_args: ['run', '--name=011-2020-05-13-podman-compose_wordpress_1', '-d', '--pod=011-2020-05-13-podman-compose', '--label', 'io.podman.compose.config-hash=123', '--label', 'io.podman.compose.project=011-2020-05-13-podman-compose', '--label', 'io.podman.compose.version=0.0.1', '--label', 'com.docker.compose.container-number=1', '--label', 'com.docker.compose.service=wordpress', '--mount', 'type=bind,source=/home/mars/.local/share/containers/storage/volumes/011-2020-05-13-podman-compose_wordpress/_data,destination=/var/www/html/,bind-propagation=z', '--add-host', 'wordpress:127.0.0.1', '--add-host', '011-2020-05-13-podman-compose_wordpress_1:127.0.0.1', '--add-host', 'wo-mariadb:127.0.0.1', '--add-host', '011-2020-05-13-podman-compose_wo-mariadb_1:127.0.0.1', '--add-host', 'db:127.0.0.1'] sec: [] i: 'db:127.0.0.1' net: None env: [] tmpfs_ls: [] volume: 'wordpress:/var/www/html/' mount_args: 'type=bind,source=/home/mars/.local/share/containers/storage/volumes/011-2020-05-13-podman-compose_wordpress/_data,destination=/var/www/html/,bind-propagation=z'
Created attachment 1688207 [details] File: backtrace
Created attachment 1688208 [details] File: cpuinfo
Created attachment 1688209 [details] File: docker-compose.yml
Created attachment 1688210 [details] File: environ
Created attachment 1688211 [details] File: mountinfo
Created attachment 1688212 [details] File: namespaces
Created attachment 1688213 [details] File: open_fds
*** Bug 1839846 has been marked as a duplicate of this bug. ***
*** Bug 1827800 has been marked as a duplicate of this bug. ***
FEDORA-2020-7502229fa4 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7502229fa4
FEDORA-2020-7502229fa4 has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7502229fa4` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7502229fa4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-7502229fa4 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.