How to use docker compose with NVIDIA Jetson

Overview

Environment

Install docker-compose main unit on the host side with the following command.

$ sudo apt install python3-pip
$ sudo apt install build-essential libssl-dev libffi-dev python3-dev
$ sudo pip3 install docker-compose

How to use

docker-compose.yml (docker-compose v1.27 or later)

version: '3'
services:
 test:
   runtime: nvidia
   environment:
     - NVIDIA_VISIBLE_DEVICES=all

Example

Run the Nbody sample with docker-compose.

https://github.com/ntrlmt/jetson-nbody-docker-compose

reference

https://qiita.com/sht47/items/0706f19c67eb30e0954f

Recommended Posts

How to use docker compose with NVIDIA Jetson
[Rails] How to use rails console with docker
How to use nginx-ingress-controller with Docker for Mac
How to use mssql-tools with alpine
How to start Camunda with Docker
How to use mysql with M1 mac Docker preview version
How to share files with Docker Toolbox
How to use BootStrap with Play Framework
How to use Docker in VSCode DevContainer
Understand in 5 minutes !! How to use Docker
How to run Blazor (C #) with Docker
How to build Rails 6 environment with Docker
[For those who create portfolios] How to use binding.pry with Docker
How to use Map
How to use rbenv
How to use MyBatis2 (iBatis) with Spring Boot 1.4 (Spring 4)
How to use letter_opener_web
How to use with_option
How to use fields_for
How to use java.util.logging
How to use built-in h2db with spring boot
How to use map
How to use collection_select
Use Puphpeteer with Docker
How to use Java framework with AWS Lambda! ??
How to use Twitter4J
How to use active_hash! !!
How to install Docker
How to use MapStruct
How to use hidden_field_tag
How to use TreeSet
How to use Java API with lambda expression
[How to use label]
How to use identity
How to use hashes
Use ngrok with Docker
How to give your image to someone with docker
How to use JUnit 5
[Rails] How to build an environment with Docker
How to use Dozer.mapper
How to use Gradle
How to use org.immutables
How to use java.util.stream.Collector
How to use VisualVM
How to use Map
[Introduction to Docker x ECS] ECS deployment with docker compose up
How to build docker environment with Gradle for intelliJ
How to use Oracle JDK 9 EA with Travis CI
[Docker environment] How to deal with ActiveSupport :: MessageEncryptor :: InvalidMessage
How to delete untagged images in bulk with Docker
How to make Laravel faster with Docker for Mac
How to use RealSense with ubuntu 20.04 and ROS Noetic
[Docker + Rails] How to deal with Rails server startup failure
Use GDAL with Python with Docker
[Java] How to use Map
How to use Chain API
How to use java Optional
How to use JUnit (beginner)
How to use Ruby return
[Rails] How to use enum
How to use @Builder (Lombok)