Public Repository

Last pushed: 5 months ago
Short Description
This is beanstalkd, a fast, general-purpose work queue.
Full Description

Supported tags and respective Dockerfile links

This image is updated via pull requests to the phalconphp/dockerfiles GitHub repo.

What is Beanstalk?

Beanstalk is a simple, fast work queue.

Its interface is generic, but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously.

kr.github.io/beanstalkd

How to use this image

You can run the default beanstalkd command simply:

$ docker run -d -p 11300:11300 phalconphp/beanstalkd

The above example exposes the Beanstalk on port 11300, so that you can use it in your application.

You can also pass in additional flags to beanstalkd:

$ docker run -d -p 11300:11300 phalconphp/beanstalkd -VVV -b /var/lib/beanstalkd

And you can create alias in order to implement convenient runner. Create file called /usr/local/bin/beanstalkd as follows:

#!/usr/bin/env bash

# docker volume create --name=beanstalk

docker_bin="$(which docker 2> /dev/null)"

${docker_bin} run -d \
    -p 127.0.0.1:11300:11300 \
    -v beanstalk:/var/lib/beanstalkd \
    phalconphp/beanstalkd "$@"

Make it executable:

$ sudo chmod a+x /usr/local/bin/beanstalkd

Test:

$ beanstalkd

License

View license information for the software contained in this image.

Supported Docker versions

This image is officially supported on Docker version 1.12.0.

Support for older versions (down to 1.10) is provided on a best-effort basis.

Please see the Docker installation documentation for details on how to upgrade your Docker daemon.

Docker Pull Command
Owner
phalconphp