# Docker 镜像更新：Redis 6 及镜像大小缩小 25%

**URL:** <https://meta.discourse.org/t/docker-image-update-redis-6-and-25-smaller-image-size/171437>\
**Category:** Announcements\
**Tags:** docker\
**Created:** [2020 年11 月 26 日 22:02 UTC](https://meta.discourse.org/t/docker-image-update-redis-6-and-25-smaller-image-size/171437 "2020-11-26T22:02:27Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2020 年12 月 1 日 21:04 UTC](https://meta.discourse.org/t/docker-image-update-redis-6-and-25-smaller-image-size/171437/13 "2020-12-01T21:04:45Z")

</div>

哦，真糟糕。

好在我是在仅用于测试的服务器上发现的这个问题。

对于其他站点，我是该直接提供一个全新的 Redis 实例并丢弃已排队的任务，还是应该进行备份和恢复操作？

顺便提一下，过去一年多来，我并没有注意到任何交叉干扰的问题。🤷 而且，确实有方法可以设置数据库编号。

编辑：好消息是，我可以进入容器，编辑 `redis.conf` 并重启它，之后它就能正常工作了。

如果您知道如何将一个站点从 `DISCOURSE_REDIS_DB: 12`（位于一个 Redis 容器）迁移到另一个 Redis 容器，我很想听听您的建议。或者，也许根本不必在意那些排队的任务？

---

_[View the full topic](https://meta.discourse.org/t/docker-image-update-redis-6-and-25-smaller-image-size/171437)._
