Skip to content

NetworkDriver.CreateNetwork: 'NoneType' object is not iterable #46

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

Open
sbrahul opened this issue Apr 29, 2025 · 0 comments
Open

NetworkDriver.CreateNetwork: 'NoneType' object is not iterable #46

sbrahul opened this issue Apr 29, 2025 · 0 comments

Comments

@sbrahul
Copy link

sbrahul commented Apr 29, 2025

After upgrading to docker-ce 25.0 (and its equivalent containerd versions), my docker compose commands are failing to create a network which uses devplayer0/net-dhcp driver with a bridge interface. It worked perfectly fine till docker-ce 24.0.7.

The error I am getting is:

[+] Running 1/1
 ✘ Network nw-07  Error                                                                                                                                                           0.0s
failed to create network nw-07: Error response from daemon: NetworkDriver.CreateNetwork: 'NoneType' object is not iterable

Here is the compose section

networks:
  nw:
    name: nw-07
    driver: devplayer0/net-dhcp:latest
    driver_opts:
      bridge: vlan.2007-br
      lease_timeout: 60s
    ipam:
      driver: 'null'

Any idea on what this issue could be?
Till now, I had set an apt-mark on the working versions, but now it is unavoidable since I had to upgrade my Ubuntu to 24.04 which forced me to upgrade the docker packages. Ubuntu 24.04 does not support the old working versions of docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant