Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FATAL ERROR using docker image #19

Closed
joanbono opened this issue Jan 13, 2017 · 7 comments
Closed

FATAL ERROR using docker image #19

joanbono opened this issue Jan 13, 2017 · 7 comments

Comments

@joanbono
Copy link

Some messages:

pluto[2619]: FATAL ERROR: Failed to bind bcast socket in init_netlink() - Perhaps kernel was not compiled with CONFIG_XFRM. Errno 1: Operation not permitted

pluto[3576]: FATAL ERROR: Failed to bind bcast socket in init_netlink() - Perhaps kernel was not compiled with CONFIG_XFRM. Errno 1: Operation not permitted

pluto[3895]: FATAL ERROR: Failed to bind bcast socket in init_netlink() - Perhaps kernel was not compiled with CONFIG_XFRM. Errno 1: Operation not permitted

pluto[5171]: FATAL ERROR: Failed to bind bcast socket in init_netlink() - Perhaps kernel was not compiled with CONFIG_XFRM. Errno 1: Operation not permitted

Docker versio:

$ docker -v
Docker version 1.12.5, build 7392c3b
@hwdsl2
Copy link
Owner

hwdsl2 commented Jan 13, 2017

@joanbono Hello! What is your host OS version (e.g. Ubuntu 14.04) and kernel version (uname -a)? What command did you use to start the docker container? It looks like your server's kernel is missing some support for IPsec XFRM (see: [1] [2]).

[1] https://lists.openswan.org/pipermail/users/2009-February/016168.html
[2] https://lists.openswan.org/pipermail/users/2007-November/013480.html

@joanbono
Copy link
Author

Maybe that's the problem... I'm using a Mac OS X 10.11.6 x86_64.

The program works fine (the script), running on a Debian 8.6, by the way.

If you're not going to solve that, no problem, will use docker for Debian inside a VM.

@hwdsl2
Copy link
Owner

hwdsl2 commented Jan 13, 2017

@joanbono Thanks for the update. The VPN container was only designed for use with Linux as the Docker host. Therefore please use the alternative approach you mentioned (docker for Debian inside a VM).

@hwdsl2 hwdsl2 closed this as completed Jan 13, 2017
@wahackr
Copy link

wahackr commented Feb 11, 2018

having the same issue when trying to run the installation script inside a container in resin/rpi-raspbian in Pi3

@hwdsl2
Copy link
Owner

hwdsl2 commented Feb 11, 2018

@wahbigbig Hello there! The VPN setup scripts are not designed to be used in your scenario (inside a container in resin/rpi-raspbian in Pi3). It could work outside the container by installing on the RPi directly.

@wahackr
Copy link

wahackr commented Feb 11, 2018

@hwdsl2 yes, i know, just wondering any solution to fix it so i can run it on my Pi container

@adam-nielsen
Copy link

If anyone else is here from Google, I had to run the Docker container with the --privileged flag to fix this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants