Article 52D9S Why process in container not automatically connect to NIC?

Why process in container not automatically connect to NIC?

by
drlolly
from LinuxQuestions.org on (#52D9S)
In a process within a container you have to connect the IP stack to the outside world, using a veth connection. But you don't have to do this with a normal process i.e. a process not running in a container but in the actual linux o.s. A normal process is automatically connected to the NIC. So how come a normal processes IP data structure allows access to the NIC but the IP data structure in the container is not, given that neither process 'knows' it is running in a container and both processes have the same set of data structures?latest?d=yIl2AUoC8zA latest?i=rvCug3sa7RA:nEU-MaltYqU:F7zBnMy latest?i=rvCug3sa7RA:nEU-MaltYqU:V_sGLiP latest?d=qj6IDK7rITs latest?i=rvCug3sa7RA:nEU-MaltYqU:gIN9vFwrvCug3sa7RA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments