This guide uses Docker to run Beanstalkd work queue server.
For Docker installation, see Docker.
Create a directory to store your configuration and compose files.
mkdir -p /opt/beanstalkd
cd /opt/beanstalkd
Define a container for Beanstalkd using a community-maintained image.
Note: There is no official Docker image for Beanstalkd. This guide uses jonbaldie/beanstalkd, a well-maintained community image.
services:
beanstalkd:
image: jonbaldie/beanstalkd:latest
container_name: beanstalkd
ports:
- "11300:11300" # Beanstalkd default port
restart: unless-stopped
Start the container in the background.
docker compose up -d
Check that Beanstalkd is running:
docker compose ps
Test connectivity:
echo "stats" | nc localhost 11300
jonbaldie/beanstalkd and texnikru/beanstalkd are popular community alternatives-b option with a volume mountAny questions?
Feel free to contact us. Find all contact information on our contact page.