Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/binocarlos/docker-rdb-parser

Docker image - reads .rdb file from stdin and prints redis protocol text onto stdout
https://github.com/binocarlos/docker-rdb-parser

Last synced: 11 days ago
JSON representation

Docker image - reads .rdb file from stdin and prints redis protocol text onto stdout

Awesome Lists containing this project

README

        

docker-rdb-parser
=================

Docker image that reads a .rdb file from stdin and prints redis protocol text onto stdout

## example

Pipe the contents of a redis .rdb file into the container and it will print redis commands back:

```
$ cat /var/myredis/dump.rdb | docker run -i quarry/rdb-parser
```

Redis protocol commands will be printed back on stdout

## Dockerfile

```
FROM quarry/python

RUN pip install rdbtools
ADD ./convert.sh /usr/bin/rdbconvert
RUN chmod a+x /usr/bin/rdbconvert

ENTRYPOINT ["/usr/bin/rdbconvert"]
```