docs/celery
Docker Library Bot 7edf26875d Run update.sh 2017-04-21 18:34:24 -07:00
..
README-short.txt Add some basic initial celery documentation 2015-03-06 10:30:47 -07:00
README.md Run update.sh 2017-04-21 18:34:24 -07:00
content.md Use explicit-type code blocks in a lot of obvious places (now that the Hub actually renders these _better_ than the no-type versions) 2015-08-13 09:29:14 -07:00
deprecated.md Deprecate Celery 2017-04-12 11:59:37 -07:00
github-repo Add github-repo file to every image repo 2016-05-12 16:33:19 -07:00
logo.png Add some basic initial celery documentation 2015-03-06 10:30:47 -07:00
maintainer.md Refactor the way information (especially links) are presented 2017-04-21 17:48:19 -07:00

README.md

DEPRECATED

This image is officially deprecated in favor of the standard python image, and will receive no further updates after 2017-06-01 (Jun 01, 2017). Please adjust your usage accordingly.

See the discussion in docker-library/celery#1 and docker-library/celery#12 for more details.

In most cases, using this image required re-installation of application dependencies, so for most applications it ends up being much cleaner to simply install Celery in the application container, and run it via a second command.

See the way the sentry image handles running a Celery beat and workers for a concrete example of this pattern being employed (docker run -d --name sentry-cron ... sentry run cron and docker run -d --name sentry-worker-1 ... sentry run worker).

Supported tags and respective Dockerfile links

Quick reference

Celery

Celery is an open source asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.

wikipedia.org/wiki/Celery_Task_Queue

How to use this image

start a celery worker (RabbitMQ Broker)

$ docker run --link some-rabbit:rabbit --name some-celery -d celery

check the status of the cluster

$ docker run --link some-rabbit:rabbit --rm celery celery status

start a celery worker (Redis Broker)

$ docker run --link some-redis:redis -e CELERY_BROKER_URL=redis://redis --name some-celery -d celery

check the status of the cluster

$ docker run --link some-redis:redis -e CELERY_BROKER_URL=redis://redis --rm celery celery status