mirror of
				https://github.com/yeasy/docker_practice.git
				synced 2025-10-31 18:21:33 +00:00 
			
		
		
		
	| @@ -1,12 +1,12 @@ | ||||
| ## [Redis](https://hub.docker.com/_/redis/) | ||||
| # [Redis](https://hub.docker.com/_/redis/) | ||||
|  | ||||
| ### 基本信息 | ||||
| ## 基本信息 | ||||
|  | ||||
| [Redis](https://en.wikipedia.org/wiki/Redis) 是开源的内存 Key-Value 数据库实现。 | ||||
|  | ||||
| 该仓库位于 `https://hub.docker.com/_/redis/` ,提供了 Redis 3.x ~ 5.x 各个版本的镜像。 | ||||
|  | ||||
| ### 使用方法 | ||||
| ## 使用方法 | ||||
|  | ||||
| 默认会在 `6379` 端口启动数据库。 | ||||
|  | ||||
| @@ -37,6 +37,6 @@ $ docker run -it --rm \ | ||||
|     sh -c 'exec redis-cli -h "$REDIS_PORT_6379_TCP_ADDR" -p "$REDIS_PORT_6379_TCP_PORT"' | ||||
| ``` | ||||
|  | ||||
| ### Dockerfile | ||||
| ## Dockerfile | ||||
|  | ||||
| 请到 https://github.com/docker-library/docs/tree/master/redis 查看。 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user