mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 10:05:48 +03:00
[GH-ISSUE #111] 为何要挂载系统盘的 /lib/modules #100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @droplet-js on GitHub (Dec 30, 2018).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/111
这似乎有点问题,docker镜像是基于debian,而安装docker镜像的系统可以是mac os、centos等非debian系统。可以不挂载系统盘的 /lib/modules 吗?
@hwdsl2 commented on GitHub (Dec 30, 2018):
@v7lin 你好!不支持在非 Linux 系统上使用这个 Docker 镜像。关于你的问题,如果你在 Docker host 上运行了
sudo modprobe af_key,则可以不挂载/lib/modules目录。挂载它是为了在 Ubuntu/Debian 系统上省去这一步而从容器内部载入该模块。