Skip to content

Redis Redis

Description / nameInput element
Container Registry
Container Configuration Root Path
Timezone
User ID
Group ID
Redis Host Port
Redis /config Path

Build Status Last Commit

Redis key-value store on FreeBSD.

Port 6379
Registry ghcr.io/daemonless/redis
Daemonless daemonless/redis
Source redis/redis
Website redis.io

Version Tags

Multi-arch manifests — resolve automatically to the right image for your platform.

Tag Description Best For
8.8 / 8.8-pkg-latest / latest / pkg / pkg-latest FreeBSD Latest. Rolling package updates. Staying current.
6.2 / 6.2-pkg-latest FreeBSD Latest. Rolling package updates. Staying current.
7.2 / 7.2-pkg-latest FreeBSD Latest. Rolling package updates. Staying current.
7.4 / 7.4-pkg-latest FreeBSD Latest. Rolling package updates. Staying current.
8.0 / 8.0-pkg-latest FreeBSD Latest. Rolling package updates. Staying current.
8.2 / 8.2-pkg-latest FreeBSD Latest. Rolling package updates. Staying current.
8.4 / 8.4-pkg-latest FreeBSD Latest. Rolling package updates. Staying current.
8.6 / 8.6-pkg-latest FreeBSD Latest. Rolling package updates. Staying current.
Tag Description Best For
8.8-amd64 / 8.8-pkg-latest-amd64 / latest-amd64 / pkg-amd64 / pkg-latest-amd64 FreeBSD Latest. Rolling package updates. Staying current.
6.2-amd64 / 6.2-pkg-latest-amd64 FreeBSD Latest. Rolling package updates. Staying current.
7.2-amd64 / 7.2-pkg-latest-amd64 FreeBSD Latest. Rolling package updates. Staying current.
7.4-amd64 / 7.4-pkg-latest-amd64 FreeBSD Latest. Rolling package updates. Staying current.
8.0-amd64 / 8.0-pkg-latest-amd64 FreeBSD Latest. Rolling package updates. Staying current.
8.2-amd64 / 8.2-pkg-latest-amd64 FreeBSD Latest. Rolling package updates. Staying current.
8.4-amd64 / 8.4-pkg-latest-amd64 FreeBSD Latest. Rolling package updates. Staying current.
8.6-amd64 / 8.6-pkg-latest-amd64 FreeBSD Latest. Rolling package updates. Staying current.
Tag Description Best For
8.8-aarch64 / 8.8-pkg-latest-aarch64 / latest-aarch64 / pkg-aarch64 / pkg-latest-aarch64 FreeBSD Latest. Rolling package updates. Staying current.
6.2-aarch64 / 6.2-pkg-latest-aarch64 FreeBSD Latest. Rolling package updates. Staying current.
7.2-aarch64 / 7.2-pkg-latest-aarch64 FreeBSD Latest. Rolling package updates. Staying current.
7.4-aarch64 / 7.4-pkg-latest-aarch64 FreeBSD Latest. Rolling package updates. Staying current.
8.0-aarch64 / 8.0-pkg-latest-aarch64 FreeBSD Latest. Rolling package updates. Staying current.
8.2-aarch64 / 8.2-pkg-latest-aarch64 FreeBSD Latest. Rolling package updates. Staying current.
8.4-aarch64 / 8.4-pkg-latest-aarch64 FreeBSD Latest. Rolling package updates. Staying current.
8.6-aarch64 / 8.6-pkg-latest-aarch64 FreeBSD Latest. Rolling package updates. Staying current.

Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions, including the security model for host vs. container privileges.

Deployment

services:
  redis:
    image: "ghcr.io/daemonless/redis:latest"
    container_name: redis
    environment:
      - PUID=1000  # User ID for the application process
      - PGID=1000  # Group ID for the application process
      - TZ=UTC  # Timezone for the container
    volumes:
      - "/path/to/containers/redis:/config"
    ports:
      - "6379:6379"
    # always (not unless-stopped) so FreeBSD's podman rc.d auto-starts it at boot
    restart: always
1
2
3
4
5
6
7
podman run -d --name redis \
  -p 6379:6379 \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=UTC \
  -v /path/to/containers/redis:/config \
  ghcr.io/daemonless/redis:latest
- name: Deploy redis
  containers.podman.podman_container:
    name: redis
    image: "ghcr.io/daemonless/redis:latest"
    state: started
    restart_policy: always
    env:
      PUID: "1000"
      PGID: "1000"
      TZ: "UTC"
    ports:
      - "6379:6379"
    volumes:
      - "/path/to/containers/redis:/config"
1
2
3
4
5
6
# .env

DIRECTOR_PROJECT=redis
PUID=1000
PGID=1000
TZ=UTC
# appjail-director.yml

options:
  - alias:
  - ip4_inherit:
services:
  redis:
    name: redis
    options:
      - container: 'boot args:--pull'
      - expose: '6379:6379 proto:tcp'
    oci:
      user: root
      environment:
        - PUID: !ENV '${PUID}'
        - PGID: !ENV '${PGID}'
        - TZ: !ENV '${TZ}'
    volumes:
      - REDIS_CONFIG_PATH: /config
volumes:
  REDIS_CONFIG_PATH:
    device: '/path/to/containers/redis'
1
2
3
4
5
6
# Makejail

ARG tag=latest

OPTION overwrite=force
OPTION from=ghcr.io/daemonless/redis:${tag}
appjail oci run -Pd \
  -o overwrite=force \
  -o container="args:--pull" \
  -o virtualnet=":<random> default" \
  -o nat \
  -o expose="6379:6379 proto:tcp" \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=UTC \
  -o fstab="/path/to/containers/redis /config <pseudofs>" \
  ghcr.io/daemonless/redis:latest redis

Interactive Configuration

Parameters

Environment Variables

Variable Default Description
PUID 1000 User ID for the application process
PGID 1000 Group ID for the application process
TZ UTC Timezone for the container

Volumes

Path Description
/config Data and configuration directory

Ports

Port Protocol Description
6379 TCP Redis port

Implementation Details

  • Architectures: amd64, aarch64
  • User: bsd (UID/GID set via PUID/PGID). Defaults to 1000:1000.
  • Base: Built on ghcr.io/daemonless/base (FreeBSD 15.1).

Need help? Join our Discord community.