Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Podman v3.4.2 compose networks block does not update MTU size #14471

Closed
rskntroot opened this issue Jun 3, 2022 · 5 comments
Closed

Podman v3.4.2 compose networks block does not update MTU size #14471

rskntroot opened this issue Jun 3, 2022 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. network Networking related issue or feature

Comments

@rskntroot
Copy link

rskntroot commented Jun 3, 2022

The following command works fine:

podman network create test_default --opt mtu=9000
as referenced by:
Originally posted by @afbjorklund in #8454 (comment)

However the expected compose.yml variation:

..
networks:
  default:
    driver: bridge
    driver_opts:
      mtu: 9000

Does not work as expected. The mtu is not set for the network that is created.

I have also attempted to use the docker string..

..
    driver_opts:                         
      com.docker.network.driver.mtu: 9000

Which also fails. The mtu is not set for the network that is created.

@rskntroot rskntroot changed the title Syntax now changed to: Podman v3.4.2 compose networks block does not update MTU size Jun 3, 2022
@vrothberg
Copy link
Member

@Luap99 @flouthoc PTAL

@Luap99
Copy link
Member

Luap99 commented Jun 3, 2022

Can you try this with podman v4.1 please.
I don't think we support the docker string but just mtu should work.

@Luap99 Luap99 added kind/bug Categorizes issue or PR as related to a bug. network Networking related issue or feature labels Jun 3, 2022
@rskntroot
Copy link
Author

I was able to upgrade to 4.0.2 on RHEL 8 for both podman and podman-compose. Now podman-compose is not creating a network from the networks: block.

@Luap99
Copy link
Member

Luap99 commented Jun 3, 2022

Podman-compose is a different project and not directly supported by us, I thought you were using docker-compose. Please file an issue in https://github.com/containers/podman-compose instead.

@Luap99 Luap99 closed this as completed Jun 3, 2022
@rskntroot
Copy link
Author

@Luap99, I was using docker-compose before upgrading.

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. network Networking related issue or feature
Projects
None yet
Development

No branches or pull requests

3 participants