nicolas/webdis

By nicolas

Updated 4 months ago

Official Webdis images

Image
Databases & Storage
Web Servers
Developer Tools

100K+

Official Webdis images

Webdis is a very simple web server providing an HTTP interface to Redis, with JSON output.

This Docker Hub repository is maintained by the author of Webdis and contains up-to-date images that are published as soon as new versions are released on GitHub. It is mirrored on Amazon's Elastic Container Registry.

Try Webdis with Docker

Start Webdis with this command, exposing port 7379 on localhost:

docker run --name webdis-test --rm -d -p 127.0.0.1:7379:7379 nicolas/webdis

Once started, try sending a request to Redis via Webdis over HTTP:

curl http://127.0.0.1:7379/PING

This should produce the following output:

{"PING":[true,"PONG"]}

To stop and clean up the Webdis container, run

docker stop webdis-test

Documentation

The Webdis README on GitHub describes its features and configuration options in detail.

The docs directory on GitHub contains articles describing more complex deployment architectures, how to use SSL between Webdis and Redis, and more.

Cryptographically signed images

The Webdis images on Docker Hub are signed. You can download the public key from the Webdis repo to validate them, or copy it from here (save as nicolasff.pub):

-----BEGIN PUBLIC KEY-----
role: nicolasff

MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUI/LpQETC4jOXvURenSFUUDtdCsB
o76W6tp1jL+8XBaB18Q++1OtCi/ulbNpduH64QPlpDAWN6Ao5Mw9M2nC9w==
-----END PUBLIC KEY-----

You should see the following key ID if you verify the trust:

$ docker trust inspect nicolas/webdis:0.1.21 --pretty

Signatures for nicolas/webdis:0.1.21

SIGNED TAG   DIGEST                                                             SIGNERS
0.1.21       bea53be391b11fd8a33d55c5e3d49eb11c4c2f89e9e82ca70b3a91bc9c9aa208   (Repo Admin)

List of signers and their keys for nicolas/webdis:0.1.21

SIGNER      KEYS
nicolasff   dd0768b9d35d

Administrative keys for nicolas/webdis:0.1.21

  Repository Key:	fed0b56b8a8fd4d156fb2f47c2e8bd3eb61948b72a787c18e2fa3ea3233bba1a
  Root Key:	40be21f47831d593892370a8e3fc5bfffb16887c707bd81a6aed2088dc8f4bef

Signing keys

  • The SIGNER field tells you who signed the image; it should be nicolasff. The short key ID is dd0768b9d35d, the full ID being dd0768b9d35d344bbd1681418d27052c4c896a59be214352448daa2b6925b95b.
  • The Repository Key is scoped to this Docker Hub repo, nicolas/webdis. This should match as well. Its key ID is fed0b56b8a8fd4d156fb2f47c2e8bd3eb61948b72a787c18e2fa3ea3233bba1a.
  • Finally, the Root Key ID is 40be21f47831d593892370a8e3fc5bfffb16887c707bd81a6aed2088dc8f4bef.

Make sure that all the key IDs mentioned in the output of docker trust inspect are listed here. The same key IDs are listed in the Webdis documentation if you want to validate them.

Note that while the images on AWS ECR are not signed due to its lack of support for Content Trust, they are *identical* to the signed images published on Docker Hub.

Docker Pull Command

docker pull nicolas/webdis