课程: Databases for Node.js Developers
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Setting up Redis with Docker
- [Instructor] Redis is a high performance in-memory key-value store, often used for caching, session management, and real time data processing. In this video, we'll set up Redis using Docker, very similar to what we did with MySQL and MongoDB before. So we start with writing docker pull redis, and while I'm doing that, yeah, let's make sure Docker is running. So it is running. If it's not running for you, just start your Docker demon or desktop again. Now it's downloading. Now that we have the image, we want to start a container with it. So I type docker run --name, that's the name of the container, redis -p. And I, again, use the default port Redis is expected to run on and map this one on my local machine to the one in the container. So it looks like as if Redis would run locally, 6379, and then I also have to tell Docker which image to use with -d and then write redis. And now when a type Docker appears, you see that I'm having a MongoDB on my MySQL and a Redis container running…
内容
-
-
-
-
-
-
-
(已锁定)
Fast and flexible basket and session management with Redis2 分钟 3 秒
-
(已锁定)
Setting up Redis with Docker1 分钟 37 秒
-
(已锁定)
Exploring Redis with Redis Insight2 分钟 36 秒
-
(已锁定)
Connecting our application to Redis4 分钟 35 秒
-
(已锁定)
Managing user sessions with Redis8 分钟 50 秒
-
(已锁定)
Basic Redis operations for shopping baskets, part 111 分钟 16 秒
-
(已锁定)
Basic Redis operations for shopping baskets, part 27 分钟 47 秒
-
(已锁定)
-
-