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
IPV6 address #4483
Comments
@DominicBoettger to change the ip from within a container you need to run it in |
@crosbymichael Is there a way to get the lxc network solution to work? Did i something wrong using the lxc config? |
sorry, I'm not sure. does |
Yes, it does work. Thank you! |
There should be a way to set an IPv6 address without the privileged mode! I want to force the container to use a specific IP from the outside. |
Now that docker doesn't use LXC by default, it should be possible to specify MAC address or IPv6 address of the container interface when running it. |
Tried to run:
docker run -lxc-conf="lxc.network.ipv6=myip/112" -lxc-conf="lxc.network.ipv6.gateway=mygw" -i -t ubuntu /bin/bash
After that the ip address wasn't set entire correct. The gateway ip was added as second ip address and the gateway configuration was wrong.
Before upgrading to 0.8.1 i was able to fix this when setting the ip addresses in my run.sh.
Now i get an error when executing:
ip -6 addr add myip dev eth0
RTNETLINK answers: Operation not permitted
How can i make this work again? Or will i have to downgrade to 0.7.1 again?
The text was updated successfully, but these errors were encountered: