An open API service indexing awesome lists of open source software.

https://github.com/sqlsec/redis5-centos-docker

Redis5 + Centos7 + cron 定时任务的 Docker 环境
https://github.com/sqlsec/redis5-centos-docker

cron docker redis5

Last synced: 11 months ago
JSON representation

Redis5 + Centos7 + cron 定时任务的 Docker 环境

Awesome Lists containing this project

README

          

# redis5-centos-docker
Redis5 + Centos7 + cron 定时任务的 Docker 环境,镜像体积一共只有 273MB 大小。

# 使用方法

## 手动 build

```bash
# 构建镜像
docker build -t .

# 创建容器
docker run -d -p 6379:6379
```

## 从 DockerHub 拉取

```bash
# 拉取镜像
docker pull sqlsec/redis5-centos7-cron:latest

# 创建容器
docker run -d -p 6379:6379 sqlsec/redis5-centos7-cron:latest
```