---
title: "Discussion on \"Setup master slave in Redis by using Docker\" | Hashnode"
description: "Discussion on \"Setup master slave in Redis by using Docker\". We will exec into redis-slave-1 and redis-slave-2 and run the command \"slaveof redis-master 6379\". And continue, we enter the command \"info replication\" to"
url: "https://hashnode.com/posts/setup-master-slave-in-redis-by-using-docker/6625c4cac0e41eebdfc654a7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Setup master slave in Redis by using Docker](https://tuannguyenhust.hashnode.dev/setup-master-slave-in-redis-by-using-docker?utm_source=hashnode&utm_medium=feed)

We will exec into redis-slave-1 and redis-slave-2 and run the command "slaveof redis-master 6379". And continue, we enter the command "info replication" to

Apr 22, 2024 · 2 min read · tuannguyenhust.hashnode.dev  
Read the article

-   [#redis](https://hashnode.com/tag/redis)
-   [#master-slave](https://hashnode.com/tag/master-slave)
-   [#master](https://hashnode.com/tag/master)
-   [#slave](https://hashnode.com/tag/slave)

## Written by

[Nguyen Van Tuan](https://hashnode.com/@tuannguyenhust)

@tuannguyenhust · Ha Noi, Viet Nam

  
[View profile](https://hashnode.com/@tuannguyenhust)

Software Engineer

I'm Tuan. I graduated Hanoi University of Science and Technology in 2019 Major: Information Technology Leetcode : nguyenvantuan2391996 My blog: https://tuannguyenhust.hashnode.dev/ Linkedin : Tuan Nguyen Van

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
