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

Incorrect Subnet Mask In Docker Compose File #337

Open
4 tasks
ewagmig opened this issue Mar 7, 2024 · 0 comments
Open
4 tasks

Incorrect Subnet Mask In Docker Compose File #337

ewagmig opened this issue Mar 7, 2024 · 0 comments

Comments

@ewagmig
Copy link

ewagmig commented Mar 7, 2024

Summary of Bug

In the docker-compose.yml file, the networks setting is as below

networks:
  localnet:
    driver: bridge
    ipam:
      driver: default
      config:
      -
        subnet: 192.168.10.0/16

The subnet 192.168.10.0/16 is set incorrectly which should be a C-Class subnet of 192.168.10.0/24.

This bug leads to the container running via the make command

make localnet-start

error was printed out as below:

invalid subnet 192.168.10.0/16: it should be 192.168.0.0/16

Version

git log

51c8c2a

Steps to Reproduce

Just use the make command

make localnet-start


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
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