Reputation: 786
I am trying to create a socket as follow but it is failing with error address family not supported. Can any one please help me out as i am beginner to socket.
socket(AF_ATMPVC, SOCK_STREAM, 0);
If any other information is required please let me know in comments.
Upvotes: 1
Views: 541
Reputation: 786
Apparently, I managed to find an answer for my question. This problem can be fixed by passing --network=host
option while creating the docker container.
If you use the host network driver for a container, that container’s network stack is not isolated from the Docker host.
Upvotes: 1