Skip to content

aerospike/aerospike-tools.docker

Repository files navigation

Aerospike Tools Dockerfile

This repository contains the Dockerfile for Aerospike Tools.

Building

DOCKER_BUILDKIT=1 docker build -t="aerospike/aerospike-tools" github.com/aerospike/aerospike-tools.docker

Usage

  • Please see our tools usage guide

  • The following will run aerospike tools with -h option to connect to a host. Please use --no-config-file option when using asadm.

docker run -ti --name aerospike-tools aerospike/aerospike-tools <Aerospike Tools commands> -h <Seed_Host_IP>

Example:

# docker run -ti aerospike/aerospike-tools asadm -e "asinfo -v statistics" --no-config-file  -h host1.example.aerospike.com 
  • The following will run aerospike tools with --link alias option to connect to a linked container.
docker run -ti --name aerospike-tools --link <CONTAINER_NAME>:aerospike aerospike/aerospike-tools <Aerospike Tools commands>

Example:

docker run -ti --link aerospike:aerospike aerospike/aerospike-tools asadm -e info --no-config-file

Available tools:

  • asinfo -h SEED_HOST --no-config-file

  • asadm -h SEED_HOST --no-config-file

  • asloglatency -h SEED_HOST

  • aql -h SEED_HOST --no-config-file

  • asbackup -h SEED_HOST --no-config-file

  • asrestore -h SEED_HOST --no-config-file

  • asbench -h SEED_HOST

  • uda -h SEED_HOST

Addtional info on using our tools can be found here

Supported Docker versions

This image is officially supported on Docker version 1.4.1.

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

User Feedback

Issues

If you have any problems with or questions about this image, please contact us on the Aerospike Forums or through a GitHub issue.

Contributing

You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

Before you start to code, we recommend discussing your plans on the Aerospike Forums or through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.