How to do it

We proceed with the recipe as follows:

  1. What we have downloaded so far is an image that can be run to create an actual container. A container is an actual instantiation of an image with specific parameters needed to configure the software in the container. We run the container by running an image using docker run and passing the image name/tag, and any other parameters required to run the image (these are specific to the image and normally can be found on the Docker Hub page for the image).  The specific command we need to run RabbitMQ using this image is the following:
$ docker run -d -p 15672:15672 -p 5672:5672 rabbitmq:3-management094a138383764f487e5ad0dab45ff64c08fe8019e5b0da79cfb1c36abec69cc8
  1. docker run tells Docker to ...

Get Python Web Scraping Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.