Sign inSign up

picadoh/motocker

By picadoh

•Updated about 7 years ago

DEPRECATED: Dockerized Moto Server

Image
0

100K+

picadoh/motocker repository overview

⁠DEPRECATION NOTICE

This image is now deprecated in favor of the official Moto Server image (motoserver/moto⁠), maintained at Moto Official Repository⁠.


⁠Summary

Docker container for Moto Server. Moto Server is a standalone server mode of the Moto library, that can be used to mock AWS services.

⁠Stack
  • Python 2.7
  • Flask
⁠Getting the image
docker pull picadoh/motocker
⁠Running AWS services using Motocker
docker run --name s3 -d -e MOTO_SERVICE=s3 -p 5001:5000 -i picadoh/motocker
⁠Enviornment variables
MOTO_SERVICE: The AWS service to run within Moto Server (e.g. s3, ec2, etc)
MOTO_HOST: The host to advertise for listeners
MOTO_PORT: The port to advertise for listeners
⁠Accessing example

If using S3 service, browse http://localhost:5001/<bucket_name>/<object_name> for accessing the object inside a bucket.

⁠Example with docker-compose
version: '3'

s3:
  image: picadoh/motocker
  environment:
    - MOTO_SERVICE=s3
    - MOTO_HOST=10.0.1.0
  ports:
    - "5000:5000"
  networks:
    motonet:
      ipv4_address: 10.0.1.0

networks:                             
  motonet:                          
    driver: bridge                
    ipam:                         
      config:                       
        - subnet: 10.0.0.0/16   

Tag summary

Content type

Image

Digest

Size

113.5 MB

Last updated

about 7 years ago

docker pull picadoh/motocker