Installing a RabbitMQ container from Docker Hub
Pre-built containers can be obtained from a number of container repositories. Docker is preconfigured with connectivity to Docker Hub, where many software vendors, and also enthusiasts, publish containers with one or more configurations.
In this recipe, we will install RabbitMQ, which will be used by another tool we use in another recipe, Nameko, to function as the messaging bus for our scraping microservice.
Getting ready
Normally, the installation of RabbitMQ is a fairly simple process, but it does require several installers: one for Erlang, and then one for RabbitMQ itself. If management tools, such as the web-based administrative GUI are desired, that is yet one more step (albeit a fairly small one). By using Docker, we can simply get the container with all of this preconfigured. Let's go do that.
How to do it
We proceed with the recipe as follows:
- Containers can be obtained using the
docker pull
command. This command will check and see if a...