Sign inSign up

keeps/siegfried

By keeps

Updated over 2 years ago

Siegfried file format identification server. https://github.com/richardlehane/siegfried

Image
1

3.4K

keeps/siegfried repository overview

Siegfried file format identification service running as a minimal container.

Documentation on how to use the service on: https://github.com/richardlehane/siegfried/wiki/Using-the-siegfried-server

Run as a server:

# Start server, mapping data into the container, here using the current directory `$PWD`
docker run -v $PWD:$PWD -p 5138:5138 -e SIEGFRIED_HOST=0.0.0.0 -d --name siegfried keeps/siegfried:v1.9.4
# Make requests using curl, here sending the current directory in base64 encoding
curl  "http://localhost:5138/identify/$(echo -n $PWD | base64 -)?base64=true"
# Stop server
docker stop siegfried

Run as a command:

# Run in current directory
docker run -v $PWD:$PWD --rm keeps/siegfried:v1.9.4 sf $PWD

Parameters via environment variables:

  • SIEGFRIED_HOST: Set the binding host for the service, use 0.0.0.0 to accept any connection. Default: 0.0.0.0
  • SIEGFRIED_PORT: Set the port for the service. Default: 5138.

Tag summary

Content type

Image

Digest

sha256:9233de02a

Size

170.1 MB

Last updated

over 2 years ago

docker pull keeps/siegfried:v1.11.0