Podman + iptable
![]() |
---|
Podman에서 Run했을때 마주한 에러 |
이런저런 사정으로 서버 전체를 다시구성하고 있는데, 뭔가 Ubuntu보다는 Rocky가 나은거 같아서 이번에도 선택을 했더니 알 수 없는 메시지를 뿌린다.
ERRO[0000] Starting some container dependencies
ERRO[0000] "netavark: code: 3, msg: modprobe: ERROR: could not insert 'ip_tables': Operation not permitted\niptables v1.8.10 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.\n"
Error: starting some containers: internal libpod error
좀 읽어보면 iptable에 insert를 못했다는 이야기인데.. 이제까지 환경설정하면서 처음 만나는 상황이 아닌가 싶다.
StackOverflow에서 찾은 글 중에서 이 녀석이 마음에 든다
This error happens while iptalbes cannot found that module in kernel, so iptables suggest you to upgrade it :)
그리고 해결은
modprobe iptable-nat
이 녀석을 실행해서 뭔가를 만든 다음 해결이 되었다. 무얼까?
Enjoy Reading This Article?
Here are some more articles you might like to read next: