diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8efe8353cb96db279fee7364097add2ee0ca8e88..aa31e15928c2827d6bfed7b6b371343f92d6e9fa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,8 +7,8 @@ build ubuntu:
   tags: [linux, shell]
   script:
     - image_name="${CI_REGISTRY}/${CI_PROJECT_PATH,,}"
-    - podman build --pull -t "${image_name}/ubuntu" ubuntu
-    - podman build -t "${image_name}/jupyterhub" jupyterhub
+    - podman build --cgroup-manager=cgroupfs --pull -t "${image_name}/ubuntu" ubuntu
+    - podman build --cgroup-manager=cgroupfs -t "${image_name}/jupyterhub" jupyterhub
 
 deploy ubuntu:
   stage: deploy