I need a ipv6 only container ,how can i do

i have tried to disable ipv4 in a container but failed

/tmp # ip addr del dev eth0@if26
ip: can’t find device ‘eth0@if26’

could you have a parameter like --no-ipv4 or --ipv4 disable when creating a bridge?

Hi, is your host ipv6 only or what is the core issue?

no . i have both ipv4 and ipv6 . but my purpose is to create a container with only-ipv6 .

Hi again, this is currently not suported, as if i remember correctly, docker currently routes ipv6 traffic though ipv4 making ipv6 only “cosmetic”

But i see you allready found the feature request on Feature Request: Option to Disable IPv4 Stack and Exclusively Use IPv6 · Issue #32850 · moby/moby · GitHub

the topic started in 2017, no update untill now. it’s so sad. ipv4 and ipv6 have their different route way. why do the docker mix them up. do i have any option? like podman?