Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

RIOT on docker - missing documentation #167

@sagile

Description

@sagile

Docker Hub https://hub.docker.com/r/riotx/riot does not have documentation.
The RIOT documentation page https://redis.github.io/riot/ just mentions that it is possible to run RIOT as a docker image via docker run riotx/riot [OPTIONS] [COMMAND].

I tried to run RIOT via the following docker-compose-riot.yml file:

services:
  riot:
    image: riotx/riot:latest
    container_name: riot-tool
    volumes:
      - ./riot-config:/app/config
      - ./wait-for-it.sh:/wait-for-it.sh
    working_dir: /app/config
    entrypoint: ["/bin/sh", "-c"]
    command: |
      db-import "SELECT * FROM beers" --jdbc-url "jdbc:postgresql://postgres:5432/beersdb" --jdbc-username postgres --jdbc-password postgres json.set --keyspace redis.beers.model.Beer --key id
    environment:
      REDIS_URL: redis://redis:6379

But I see error “SELECT * FROM beers: line 0: db-import: not found” in the docker logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions