Welcome to the Linux Foundation Forum!

Lab 3.1 - step 12 Install the containerd software

It is requested to change SystemdCgroup from false to true with

sed -e 's/SystemdCgroup = false/SystemdCgroup = true/g' -i /etc/containerd/config.toml

I had a closer look at the content of /etc/containerd/config.toml : it only contains the string systemd_cgroup = false

Do I need to change the sed command accordingly ?

Best Answer

  • Posts: 2
    Answer ✓

    Well, I've left this as it is...

    Lab 3.1 and 3.2 have been a nightmare to complete with VirtualBox and Ubuntu 24.04 server - minimal setup.

Answers

  • Posts: 2,483

    Hi @tgdtada2,

    The SystemdCgroup = false string is located around line 139 of the initial config.toml file. While there is also a string systemd_cgroup = false located around line 73, there is no need to make any changes to the sed command. It is sufficient to update the SystemdCgroup parameter, as presented in step 12 of lab 3.1.
    With all commands correctly syntaxed the lab exercises 3.1 can be easily completed.

    However, improperly sized VMs or improper VM network interface configuration through the VirtualBox hypervisor can lead to errors and failures. Can you provide additional details about your setup?

    Regards,
    -Chris

  • Posts: 1

    I had the same experience, and I believe it occurred while trying to fix the real underlying cause on VirtualBox 7.1.10 and Ubuntu 24.04: Swap will always turn back on, on startup. The Lab instructions for Chapter 3 do have 'swapoff -a', but that is only for the current session. You need to comment out the 'swap' line in /etc/fstab, and then type 'sudo systemctl restart containerd', giving it a minute, and then things should be working if that is the only error.

    some keywords for newbies to find this: containerd 664e access denied failed to create or update bootstrap token with name connection refused

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