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

Enabling ipv6 support in balenaEngine #3205

Open
majorz opened this issue Jul 28, 2023 · 1 comment
Open

Enabling ipv6 support in balenaEngine #3205

majorz opened this issue Jul 28, 2023 · 1 comment

Comments

@majorz
Copy link
Contributor

majorz commented Jul 28, 2023

This is being marked as experimental feature in Docker, but we are already enabling that flag. The official documentation on enabling ipv6 is here.

@majorz
Copy link
Contributor Author

majorz commented Jul 28, 2023

I got an ipv6 address to be registered with:

version: '2.4'

services:
  hello-world:
    build: ./hello-world

    networks:
      customnet:
        ipv4_address: 172.28.0.2
        ipv6_address: 2001:3984:3989::20

networks:
  customnet:
    enable_ipv6: true
    ipam:
      driver: default
      config:
      - subnet: 172.28.0.0/14
        gateway: 172.28.0.1
      - subnet: 2001:3984:3989::/64
        gateway: 2001:3984:3989::1

The ipv4 subnet, gateway and addresses were needed as well because supervisor seems to reject the network without an ipv4 address.

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