summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/socket/1581695
blob: e2569a29022f129cde6ef2155706dbb7703495d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
getifaddrs: Address family not supported by protocol

Calling ip addr fails with the following error message:
Cannot open netlink socket: Address family not supported by protocol


My use case is running a docker raspberry pi arm container on Ubuntu 14.04 x64 with qemu-static.

My steps to reproduce are the following:

# docker pull philipz/rpi-raspbian:latest
# docker run -it --rm -v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static philipz/rpi-raspbian bash
root@3b4ddc174279:/# ip addr
Cannot open netlink socket: Address family not supported by protocol

A fix or an workaround would be awesome.

note: we are also working with a embedded arm distro which has no package manager available, would be nice if the workaround would not depend on apt-get