You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO(bduffany): update arm64 image and remove this check for arm64 as well.
198
-
ifruntime.GOARCH!="amd64" {
199
-
// Note: despite the big scary INSECURE env var name, dockerd is completely sandboxed inside a VM, so it's secure for our usage. Once we upgrade our guest kernels to support nf tables, we can remove this.
// Note: despite the big scary INSECURE env var name, dockerd is completely sandboxed inside a VM, so it's secure for our usage. Once we upgrade our guest kernels to support nf tables, we can remove this.
Copy file name to clipboardExpand all lines: enterprise/vmsupport/kernel/microvm-kernel-x86_64-v5.15.config
+5-42Lines changed: 5 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,13 @@
1
+
# TODO: For our current iptables-legacy path, enable CONFIG_IP_NF_RAW (and CONFIG_IP6_NF_RAW if needed), or fully migrate to nftables (CONFIG_NF_TABLES + non-legacy iptables), then remove the DOCKER_INSECURE_NO_IPTABLES_RAW fallback in enterprise/server/cmd/goinit/main.go.
2
+
#
1
3
# Config copied from https://github.com/firecracker-microvm/firecracker/blob/main/resources/guest_configs/microvm-kernel-ci-x86_64-5.10.config
2
4
# Linux/x86 5.10.0 Kernel Configuration
3
5
#
4
6
# Buildbuddy modifications:
5
7
#
6
8
# To support running docker in the VM:
7
9
# * Enabled CONFIG_NETFILTER and related options
8
-
# * Enabled CONFIG_NF_TABLES plus IPv4 / IPv6 raw table support
9
-
# * Enabled CONFIG_IPV6 and related IPv6 netfilter options
Copy file name to clipboardExpand all lines: enterprise/vmsupport/kernel/microvm-kernel-x86_64-v6.1.config
+4-12Lines changed: 4 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
+
# TODO: For our current iptables-legacy path, enable CONFIG_IP_NF_RAW (and CONFIG_IP6_NF_RAW if needed), or fully migrate to nftables (CONFIG_NF_TABLES + non-legacy iptables), then remove the DOCKER_INSECURE_NO_IPTABLES_RAW fallback in enterprise/server/cmd/goinit/main.go.
1
2
# Config copied from https://github.com/firecracker-microvm/firecracker/blob/main/resources/guest_configs/microvm-kernel-ci-x86_64-6.1.config
2
3
# BuildBuddy-specific modifications:
3
4
# - Set CONFIG_PCI=y (see https://github.com/firecracker-microvm/firecracker/issues/4881)
4
5
# - Set CONFIG_FUSE_FS=y for FUSE support
5
6
# - Set CONFIG_TUN=y for networking
6
-
# - Enable CONFIG_NF_TABLES plus IPv4 / IPv6 raw table support for Docker networking
0 commit comments