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

Make the ifconfig output more portable #225

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

climent
Copy link

@climent climent commented Nov 22, 2020

I worked over the weekend trying to make your image creation process work with alpine instead of archlinux, but it was failing. The iptables output had a different entry for the docker network and was rejecting my connections. It all boiled down to a different ifconfig output.

Probably a better fix would be to move the ifconfig output to "ip ad show dev ${docker_interface}" instead of trying to parse the output of a tool that has not been consistently ported to different linux flavours.

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

Successfully merging this pull request may close these issues.

1 participant