Add docker file

This commit is contained in:
Ruslan Savchuk
2025-03-27 10:37:56 +01:00
parent 84a1a1beef
commit 09e3d0e5a1
2 changed files with 33 additions and 0 deletions

View File

@@ -23,3 +23,21 @@ To configure the cluster mentioned, we will use Ubuntu server 20.04 (author uses
* [Controller manager](./docs/08-controller-manager.md)
* [Kube-proxy](./docs/09-kubeproxy.md)
* [DNS in Kubernetes](./docs/10-dns.md)
docker build -t ubuntu-systemd .
docker run -d \
--name ubuntu-systemd-container \
--privileged \
--security-opt seccomp=unconfined \
--security-opt apparmor=unconfined \
-v /sys/fs/cgroup:/sys/fs/cgroup:rw \
-v /lib/modules:/lib/modules:ro \
--tmpfs /tmp \
--tmpfs /run \
--tmpfs /run/lock \
kindest/base:v20250312-b98dc21a \
/sbin/init