Please provide README
Can you please provide a README that documents the required mount points, etc. for kubeadm to successfully run in a container? I have been trying to bootstrap a cluster using this image. However, I cannot successfully run kubeadm from within a container:
[root@ip-10-42-20-213 ~]# docker run --privileged -v /usr/bin:/usr/bin -v /usr/sbin:/usr/sbin -v /usr/local/bin:/usr/local/bin -v /var/run/docker.sock:/var/run/docker.sock --tmpfs /run --tmpfs /run/lock --tmpfs /var/lib/journal -v /sys/fs/cgroup:/sys/fs/cgroup -v /etc/systemd:/etc/systemd --tmpfs /proc/sys/net --user root --rm registry.gitlab.com/dark-aster/ansible-kubernetes/kubeadm-1.18:v1.18.6 init
[init] Using Kubernetes version: v1.18.6
W0811 15:37:42.926140 1 configset.go:202] WARNING: kubeadm cannot validate component configs for API groups
[kubelet.config.k8s.io kubeproxy.config.k8s.io]
[preflight] Running pre-flight checks
[WARNING Service-Docker]: docker service is not enabled, please run 'systemctl enable docker.service'
[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
[preflight] The system verification failed. Printing the output from the verification:
KERNEL_VERSION: 4.18.0-193.13.2.el8_2.x86_64
DOCKER_VERSION: 18.09.1
DOCKER_GRAPH_DRIVER: overlay2
OS: Linux
CGROUPS_CPU: enabled
CGROUPS_CPUACCT: enabled
CGROUPS_CPUSET: enabled
CGROUPS_DEVICES: enabled
CGROUPS_FREEZER: enabled
CGROUPS_MEMORY: enabled
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR Service-Docker]: docker service is not active, please run 'systemctl start docker.service'
[ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist
[ERROR FileContent--proc-sys-net-ipv4-ip_forward]: /proc/sys/net/ipv4/ip_forward does not exist
[ERROR SystemVerification]: failed to parse kernel config: unable to load kernel module: "configs", output: "modprobe: FATAL: Module configs not found in directory /lib/modules/4.18.0-193.13.2.el8_2.x86_64\n", err: exit status 1
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
To see the stack trace of this error execute with --v=5 or higher