Run Kubernetes in a docker container in GitLab runner?

7/5/2021

I need to be able to execute some Python code that would: 1) Run a docker container in GitLab runner. 2) Install Kubernetes (Minikube?) in that container. 3) Run a pod in that Kubernetes.

I was having troubles finding the way to run Kubernetes in a container. It shouldn't be anything advanced, just for test purposes.

-- Eli Halych
docker
gitlab-ci-runner
kubernetes

1 Answer

7/5/2021
-- Emruz Hossain
Source: StackOverflow