Skip to content

Docker Usage

Josecisneros001 edited this page Mar 21, 2021 · 5 revisions

Docker: Usage

Installation Requirements

Docker

  • Install docker engine according to your operating system.

    Docker Engine

Dockerfiles

All dockerfiles are under the folder docker/[ros-distro]. There is a Dockerfile per area and a general one with just the ros-distro installation.

Areas currently supporting Docker Usage:

  • Speech
  • Speech using GPU
  • Base Control using Rviz
  • Base Control using Rviz with GPU

How to run?

A Makefile was created with all the necessary docker commands:

  • Build an image

make [ros-distro].build
make [ros-distro].build.[area]
  • Create Docker container

make [ros-distro].create
make [ros-distro].create.[area]
  • Start container

make [ros-distro].up
make [ros-distro].up.[area]
  • Stop container

make [ros-distro].down
make [ros-distro].down.[area]
  • Restart container

make [ros-distro].restart
make [ros-distro].restart.[area]
  • Show logs container

make [ros-distro].logs
make [ros-distro].logs.[area]
  • Fires up a bash session inside container

make [ros-distro].shell
make [ros-distro].shell.[area]
  • Remove container

make [ros-distro].remove
make [ros-distro].remove.[area]
  • Show a list of containers

make list
  • Show a list of running containers

make listUp

** For further reference to the commands per area, open the Makefile that is at the root.