Skip to content

Docker

If you wish, there is a development docker container (docker hub, docker source) for CogniPilot with Nvidia GPU support. If you use this option, do not run the native_install script, as the packages are already installed.

Dependencies

You must install the latest official docker.

Tip

Don't forget Linux Post Install

Clone Docker Repository

When cloning the docker repository, choose the name of <BRANCH> to be one of: * main * brave * airy

On the Host

mkdir -p ~/cognipilot
cd ~/cognipilot
git clone -b <BRANCH> https://github.com/cognipilot/docker
cd  ~/cognipilot/docker
git submodule update --init --recursive

Start the Docker Image

The dream start command, automatically pulls the dream image from dockerhub, and starts the image.

On the Host

cd ~/cognipilot/docker/dream
./dream start

Execute a Command on the Docker Image

This starts a shell within the container.

On the Host

./dream exec

If passed extra arguments will run those commands as well.

Convenience Scripts (Docker Specific)

unlock

This command executes the script docs.

  • Unlocks GPG and SSH keys mounted in the docker image.

Within the Container

unlock

See the other non-docker specific scripts in the main installation

Build the Docker Image (For Advanced Users)

This process will take awhile. It is usually sufficient to use dream start instead, which will automatically pull the latest image from dockerhub.

On the Host

cd ~/cognipilot/docker/dream
./dream build