containers / containers/podman-compose

Set network properties for containers, per network individually.

Open
#713 3 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
6.2k
Forks
622
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Yes. The current podman compose does not seem to support container network properties per network.
```
networks:
dhcp_macvlan:
mac: '6f:ee:c3:5a:87:70'
```
The mac address part of the above snippet is completely ignored by podman compose. According to the documentation, the syntax should be something like `--net :ip=,mac=`

**Describe the solution you'd like**
For podman compose to parse the network config ( more like container interface config? ) correctly and eventually to be able to produce correct podman command.

**Describe alternatives you've considered**
Currently if I want to set MAC for any single network I'd have to manually do the podman command.

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.