1 year ago

#369214

test-img

user3168673

tcpdump error "WARNING: can't get TPACKET_V2 header len on packet socket: Operation not supported"

I run docker on apple m1, in an ubuntu environment, install tcp-dump through apt-get, but tcpdump runs with an error:

tcpdump: WARNING: can't get TPACKET_V2 header len on packet socket: Operation not supported Warning: Kernel filter failed: Bad file descriptor tcpdump: can't remove kernel filter: Protocol not available

enter image description here

my docker image is arm platform: https://hub.docker.com/layers/200959275/xushengbin/ubuntu-networking/master/images/sha256-2d1fde055c779978b0cace24ed0796f8669e536ce252366ba210cafe5149a7bb?context=repo

I want to know, under arm architecture, will there be any difference in running docker?

docker

apple-m1

tcpdump

apple-silicon

0 Answers

Your Answer

Accepted video resources