containers / containers/podman-compose

Unable to set network MTU

Open
#790 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
6.2k
Forks
622
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

When driver_opts is used to set the MTU of a network, the setting has no effect.

```
networks:
inner:
ipam:
driver: default
config:
- subnet: 172.28.0.0/24
driver_opts:
mtu: 9000
```

podman-compose -v
```
podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 4.4.1
podman-compose version 1.0.6
podman --version
podman version 4.4.1
```

**Environment:**
- OS: RHEL 8
- rootless

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.