To create isolation for our application, we will create a custom Docker network. This network was created using the bridge driver. Let's do that using the following command:
docker network create twitter
Good, now we can check the network list by typing the following command:
docker network list
The Twitter network should be on the list, like the following:
The last one is our Twitter network. Let's pull the Redis image from the Docker Hub. Take a look at the next section.