ăSolutionă
Downgrade docker version.
sudo apt install containerd=1.6.12-0ubuntu1~20.04.3
sudo apt install docker.io=20.10.21-0ubuntu1~20.04.2
ăCauseă
I was investigating this since the same issue occurred in JetPack 5.1.2.
And today, I noticed that this is also happening with the JetPack 5.1.1 that I installed via the SDKManager.
Iâve identified the cause and will describe it below.
This issue is due to the recent updates in the versions of docker.io and containerd.
The versions that do not work are as follows.
apt list --installed | grep container
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
containerd/focal-updates,now 1.7.2-0ubuntu1~20.04.1 arm64 [installed,automatic]
libnvidia-container-tools/stable,now 1.10.0-1 arm64 [installed]
libnvidia-container0/stable,now 0.11.0+jetpack arm64 [installed]
libnvidia-container1/stable,now 1.10.0-1 arm64 [installed]
nvidia-container-runtime/stable,now 3.9.0-1 all [installed]
nvidia-container-toolkit/stable,now 1.11.0~rc.1-1 arm64 [installed]
apt list --installed | grep docker
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
docker.io/focal-updates,now 20.10.25-0ubuntu1~20.04.1 arm64 [installed,automatic]
nvidia-docker2/stable,now 2.11.0-1 all [installed]
The versions that work are as follows.
apt list --installed | grep docker
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
docker.io/now 20.10.21-0ubuntu1~20.04.1 arm64 [installed,upgradable to: 20.10.25-0ubuntu1~20.04.1]
nvidia-docker2/stable,now 2.11.0-1 all [installed]
apt list --installed | grep container
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
containerd/now 1.6.12-0ubuntu1~20.04.1 arm64 [installed,upgradable to: 1.7.2-0ubuntu1~20.04.1]
libnvidia-container-tools/stable,now 1.10.0-1 arm64 [installed]
libnvidia-container0/stable,now 0.11.0+jetpack arm64 [installed]
libnvidia-container1/stable,now 1.10.0-1 arm64 [installed]
nvidia-container-runtime/stable,now 3.9.0-1 all [installed]
nvidia-container-toolkit/stable,now 1.11.0~rc.1-1 arm64 [installed]
I discovered that in the environment where it operates normally and the environment where user privileges are replaced with root privileges, the versions of containerd and docker.io are different.
Check the versions that can be installed.
apt-cache madison containerd
containerd | 1.7.2-0ubuntu1~20.04.1 | http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages
containerd | 1.6.12-0ubuntu1~20.04.3 | http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages
containerd | 1.3.3-0ubuntu2 | http://ports.ubuntu.com/ubuntu-ports focal/main arm64 Packages
apt-cache madison docker.io
docker.io | 20.10.25-0ubuntu1~20.04.1 | http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages
docker.io | 20.10.21-0ubuntu1~20.04.2 | http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 Packages
docker.io | 19.03.8-0ubuntu1 | http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 Packages
There are packages available for installation that were working correctly before, so I will install these.
sudo apt install containerd=1.6.12-0ubuntu1~20.04.3
sudo apt install docker.io=20.10.21-0ubuntu1~20.04.2
This will resolve the permission issues currently occurring when creating a user account in a docker container.