The work I did changed the following files.
The reason is that the version number published on docker hub and the version number of jetpack are different, so to match the version number on the docker hub side.
/etc/nv_tegra_release # R32 (release), REVISION: 5.0, GCID: 27362550, BOARD: t210ref, EABI: aarch64, DATE: Wed May 19 18:07:59 UTC 2021
$HOME/jetbot/docker/configure.sh
#!/bin/bash
export JETBOT_VERSION=0.4.3
L4T_VERSION_STRING=$(head -n 1 /etc/nv_tegra_release)
L4T_RELEASE=$(echo $L4T_VERSION_STRING | cut -f 2 -d ' ' | grep -Po '(?<=R)[^;]+')
L4T_REVISION=$(echo $L4T_VERSION_STRING | cut -f 2 -d ',' | grep -Po '(?<=REVISION: )[^;]+')
export L4T_VERSION="$L4T_RELEASE.$L4T_REVISION"
if [[ $L4T_VERSION = "32.4.3" ]]
then
JETBOT_BASE_IMAGE=nvcr.io/nvidia/l4t-pytorch:r32.4.3-pth1.6-py3
if [[ "$L4T_VERSION" == "32.4.4" ]]
then
JETBOT_BASE_IMAGE=nvcr.io/nvidia/l4t-pytorch:r32.4.4-pth1.6-py3
elif [[ "$L4T_VERSION" == "32.5.0" ]]
then
JETBOT_BASE_IMAGE=nvcr.io/nvidia/l4t-pytorch:r32.5.0-pth1.6-py3
else
echo "JETBOT_BASE_IMAGE not found for ${L4T_VERSION}. Please manually set the JETBOT_BASE_IMAGE environment variable. (ie: export JETBOT_BASE_IMAGE=...)"
fi
export JETBOT_DOCKER_REMOTE=jetbot
./set_nvidia_runtime.sh
sudo systemctl enable docker
# check system memory
SYSTEM_RAM_KILOBYTES=$(awk '/^MemTotal:/{print $2}' /proc/meminfo)
if [ $SYSTEM_RAM_KILOBYTES -lt 3000000 ]
then
export JETBOT_JUPYTER_MEMORY=500m
export JETBOT_JUPYTER_MEMORY_SWAP=3G
fi
It worked without downloading the jetbot image.
The procedure is as follows.
Download jetpack 4.5.1.
Write the downloaded jetpack to MicroSD.
Start Jetson with the written MicroSD and make the initial settings.
Log in and clone the jetbot repository on github.
Fixed the above file.
After that, follow the procedure using Jetbot’s Docker image as it is.
i cannot make jetbot docker works.
Can you please help me or guide me???
i also tweek the script and the end result is this: WARNING: Published ports are discarded when using host network mode
oscsalga@Jetson:~/jetbot/docker$ ./disable.sh
Error response from daemon: No such container: jetbot_camera
Error: No such container: jetbot_camera
jetbot_jupyter
jetbot_jupyter
Error response from daemon: No such container: jetbot_display
Error: No such container: jetbot_display
oscsalga@Jetson:~/jetbot/docker$
oscsalga@Jetson:~/jetbot/docker$ ./enable.sh $HOME
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker
Unable to find image 'jetbot/jetbot:display-0.4.3-32.5.1' locally
docker: Error response from daemon: manifest for jetbot/jetbot:display-0.4.3-32.5.1 not found: manifest unknown: manifest unknown.
See 'docker run --help'.
WARNING: Published ports are discarded when using host network mode
87c8302318c26208930ff80227abf914240afcd0738720707c375d254765891b
yes i manage to edit the file but the camera docker still not working, it restarts over and over again and the kernel keeps crashing or not detecting the camera when i test the collision detection notebook