Skip to content

pal-robotics/pal_docker_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

This repo contains scripts and documentation for making using docker simpler.

Requirements

NVIDIA Docker

Only if your computer has an NVIDIA GPU

If you have an NVIDIA GPU, you can install NVIDIA Docker to enable graphic hardware acceleration inside PAL containers.

We use version 2.0 of NVIDIA Docker, and to to install it, just follow the instructions.

Note

To validate the installation, at the end of the instructions page it is suggested to run a docker with nvidia CUDA. However this needs about 1GB of download and unless you are planning to use CUDA in a docker that is quite unnecessary.

Instead of doing that, you can run pal_docker.sh with any of our images and once inside, execute glxinfo | grep render and you should have a line that says: direct rendering: Yes . If this is the case, the graphic hardware acceleration is working.

Utilities

scripts/pal_docker.sh

This script launches a docker container with the following features:

Usage

Takes the same arguments as docker run, which are appended to the arguments provided by the script.

Examples:

pal_docker.sh my_docker_image

pal_docker.sh -it my_docker_image bash (ferrum)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages