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 环境
- Host: GitHub
- URL: https://github.com/sqlsec/redis5-centos-docker
- Owner: sqlsec
- Created: 2021-03-24T12:23:41.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-05T15:03:23.000Z (over 4 years ago)
- Last Synced: 2025-01-05T17:28:10.204Z (about 1 year ago)
- Topics: cron, docker, redis5
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/sqlsec/redis5-centos7-cron
- Size: 4.99 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```