Nvidia Jetson Xavier 安装docker

Posted Charmve

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Nvidia Jetson Xavier 安装docker相关的知识,希望对你有一定的参考价值。

Docker

Install necessary tools:

sudo apt install apt-transport-https ca-certificates curl software-properties-common -y

Add Docker key:

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Add Docker repo (choose the correct repository):

32bit / 64bit OS

sudo add-apt-repository \\
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \\
   $(lsb_release -cs) \\
   stable"

ARM 32bit

sudo add-apt-repository \\
   "deb [arch=armhf] https://download.docker.com/linux/ubuntu \\
   $(lsb_release -cs) \\
   stable"

ARM 64bit

sudo add-apt-repository \\
   "deb [arch=arm64] https://download.docker.com/linux/ubuntu \\
   $(lsb_release -cs) \\
   stable"

Switch to correct repo:

apt-cache policy docker-ce

Install Docker:

sudo apt install docker-ce -y

If you are not root, run this to allow using Docker without sudo in the future:

sudo usermod -aG docker $USER

Log-out and log-in to use updated user-group setting.

Install Docker-Compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

Set permission:

sudo chmod +x /usr/local/bin/docker-compose

Done. Easy!

Reference:

https://blog.csdn.net/u013524303/article/details/112309923

以上是关于Nvidia Jetson Xavier 安装docker的主要内容,如果未能解决你的问题,请参考以下文章

NVIDIA Jetson Xavier NX相关组件库安装

NVIDIA Jetson Xavier NX相关组件库安装

NVIDIA Jetson AGX Xavier YOLOv5应用与部署

使用 Docker (NVIDIA Xavier Jetson) 在 ARM64 上安装 Parity

Jetson Xavier NX (15) -- Jetson.GPIO

Jetson Xavier NX (15) -- Jetson.GPIO