Docker app installer

install_redis705_base_docker.sh

A helper.sh-hosted script that creates the /data/redis7.0.5 layout, writes a baseline Redis configuration, pulls redis:7.0.5, and runs a password-protected container with mounted data and config.

ワンライナー

curl -fsSL helper.sh/install_redis705_base_docker.sh | sudo bash
wget -qO- helper.sh/install_redis705_base_docker.sh | sudo bash

実行条件

  • Linux host
  • Docker installed and running
  • root privileges or sudo
  • Port 6379 available
  • /data writable on the host

適用場面

  • Bring up a Redis 7.0.5 instance quickly on a Docker-ready host
  • Keep Redis data and config under /data/redis7.0.5 on the host
  • Standardize a reviewed bootstrap path for caches, queues, or session stores

主なポイント

  • Creates /data/redis7.0.5/data and conf automatically
  • Pulls redis:7.0.5 and runs it as a password-protected container
  • Generates a strong password automatically if you do not provide one
  • Writes appendonly and basic persistence settings into the baseline redis.conf

推奨手順

  1. Confirm Docker is already installed and the host can expose port 6379.
  2. Run the helper.sh command with sudo or as root.
  3. Let the script prepare /data/redis7.0.5, pull redis:7.0.5, and create the container.
  4. Record the printed Redis password before handing the service to the application side.

注意事項

  • Do not expose Redis directly to the public internet without network controls.
  • Record the generated password immediately if you did not provide one.
  • Back up /data/redis7.0.5 before replacing or recreating a production container.

関連記事

Deploy Redis 7.0.5 in Docker with /data/redis7.0.5 as the host mount

A practical guide to using install_redis705_base_docker.sh when Docker is already ready and you need a password-protected Redis 7.0.5 instance with host-mounted data and config.

関連トピック

Docker base services for application hosts

Use helper.sh scripts to standardize containerized Nginx, MySQL, Redis, PHP, and Workerman services on long-lived hosts.

トピックを見る

問題ページ

How to install Redis 7.0.5 with Docker

Deploy Redis 7.0.5 with a consistent mounted directory layout so data and config survive container replacement.

ページを見る