Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/binocarlos/docker-rdb-parser
- Owner: binocarlos
- License: mit
- Created: 2014-01-09T22:34:00.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-10T12:39:14.000Z (almost 11 years ago)
- Last Synced: 2024-04-14T14:36:38.988Z (7 months ago)
- Language: Shell
- Size: 129 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/pythonRUN pip install rdbtools
ADD ./convert.sh /usr/bin/rdbconvert
RUN chmod a+x /usr/bin/rdbconvertENTRYPOINT ["/usr/bin/rdbconvert"]
```