Sign inSign up

seayou/s3rver

By seayou

•Updated almost 10 years ago

Fake S3 server for testing purposes: https://github.com/jamhall/s3rver

Image
0

1.8K

seayou/s3rver repository overview

⁠s3rver

Fake S3 server for testing purposes: https://github.com/jamhall/s3rver⁠

  • built on top of mhart/alpine-node base image
  • listens on port 5000 by default, stores data in /tmp
  • contains awscli for easy bucket management
  • uses Tini⁠, a minimalistic init system to handle signaling properly
  • To control the port to listen on change the PORT environment variable.

$ docker run -e PORT=4569 -d seayou/s3rver

⁠Example usage:

$ docker run -d seayou/s3rver


$ docker exec <container_id> sh -c "AWS_ACCESS_KEY_ID=fake AWS_SECRET_ACCESS_KEY=fake AWS_DEFAULT_REGION=fake aws --endpoint-url http://localhost:5000 s3api create-bucket --bucket foo"

Tag summary

Content type

Image

Digest

Size

45.5 MB

Last updated

almost 10 years ago

docker pull seayou/s3rver