Welcome to the Linux Foundation Forum!

LFD259 Exercise 3.1, step 9: error when trying to build the image

When executing step 9 in Exercise 3.1, I am getting the following error when running the command sudo podman build -t simpleapp .. What can be done about it?

  1. controlplane ~/app1 via 🐍 v2.7.18 sudo podman build -t simpleapp .
  2. STEP 1/3: FROM docker.io/library/python:3
  3. ERRO[0000] Unmounting /var/lib/containers/storage/overlay/be04351d1d1ed7225ef1a2b7a6d0e15d8e8b5fe93ee74f738bff35467d1cd515/merged: invalid argument
  4. Error: mounting new container: mounting build container "3049fc0d2360f115094ccfa41460c642035b5523cc5d8f38356758ff550e724e": creating overlay mount to /var/lib/containers/storage/overlay/be04351d1d1ed7225ef1a2b7a6d0e15d8e8b5fe93ee74f738bff35467d1cd515/merged, mount_data="lowerdir=/var/lib/containers/storage/overlay/l/5MYLVYXYF5X7G5QQRCJ47WFZB6:/var/lib/containers/storage/overlay/l/OTPSEH7PV7PEFWP3F6ZJPOJR4N:/var/lib/containers/storage/overlay/l/VVBMLXLP3CL6O4EBNNIT653IBC:/var/lib/containers/storage/overlay/l/VY3GN42BL6TENC5X4O3CQPF7FB:/var/lib/containers/storage/overlay/l/VU3S6W7RWD37YQQLOLDNOCBJ4F:/var/lib/containers/storage/overlay/l/OFRLKA7OT7657GUGOU3XQFUTCI:/var/lib/containers/storage/overlay/l/OPI2AL2JBE4ARNHFSTRGZQGGFG:/var/lib/containers/storage/overlay/l/GFMKEIJELLDRTH62T6JKZR4CX6,upperdir=/var/lib/containers/storage/overlay/be04351d1d1ed7225ef1a2b7a6d0e15d8e8b5fe93ee74f738bff35467d1cd515/diff,workdir=/var/lib/containers/storage/overlay/be04351d1d1ed7225ef1a2b7a6d0e15d8e8b5fe93ee74f738bff35467d1cd515/work,nodev,fsync=0,volatile": using mount program /usr/local/bin/fuse-overlayfs: unknown argument ignored: lazytime
  5. fuse-overlayfs: cannot read upper dir: Permission denied
  6. : exit status 1

I am running Kubernetes 1.27 on a 2-node cluster with Ubuntu 20.04.5 LTS. I used the Dockerfile included in the course download. The LFD259 lab version is 2023-02-28.

Answers

  • Posts: 2,436

    Hi @andrew.nichols,

    The lab guide release 2023-02-28 was calling for Kubernetes 1.26.1. Aside from changing the installed Kubernetes version, is there anything else that was modified between lab exercises of Ch 2 and 3?

    However, there is a newer course release 2023-05-31, and I would recommend setting up the cluster according to the updated installation and configuration guide.

    Regards,
    -Chris

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training