Currently `netlab install containerlab` creates `docker.list` here https://github.com/ipspace/netlab/blob/26ad4c4b005b3acc4e43463ba91554053a8e8782/netsim/install/containerlab.sh#L25 Which make `apt` to complain on 26.04: ``` Notice: Some sources can be modernized. Run 'apt modernize-sources' to do so. ``` The official docker ubuntu install page says to use `docker.sources` instead https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository ``` # Add Docker's official GPG key: sudo apt update sudo apt install ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc # Add the repository to Apt sources: sudo tee /etc/apt/sources.list.d/docker.sources <<EOF Types: deb URIs: https://download.docker.com/linux/ubuntu Suites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") Components: stable Architectures: $(dpkg --print-architecture) Signed-By: /etc/apt/keyrings/docker.asc EOF sudo apt update ``` and it claims to be applicable to: > Ubuntu Resolute 26.04 (LTS) > Ubuntu Noble 24.04 (LTS) > Ubuntu Jammy 22.04 (LTS) https://docs.docker.com/engine/install/ubuntu/#os-requirements
Activity
ipspace commentedon Oct 11, 2026
Thank you! Please submit the changes you documented as a PR, and I'll test it on the three Ubuntu versions we support and merge it.
containerlab install: use docker.sources and a repository-scoped key (i…