Sign inSign up

ogomez/fake-gcs-server

By ogomez

Updated about 5 years ago

Google Cloud Storage emulator for arm64v8

Image
0

214

ogomez/fake-gcs-server repository overview

Purpose

The purpose of this image is to provide an arm64v8 image for a Google Cloud Storage so as to be able to run the container in a Mac M1 chipset based device.

This image is created using the code within this Github repository

The code is based in fake-gcs-server

Running instructions

Run the container with the following command:

docker run -d --name fake-gcs-server -p 4443:4443 -v ${PWD}/data/bucket:/data ogomez/fake-gcs-server:manifest-latest

To check everything is up and running use this command:

curl --insecure https://0.0.0.0:4443/storage/v1/b

If you prefer to use 'http transport' intead run the container with these commands:

docker run -d --name fake-gcs-server -p 4443:4443 -v ${PWD}/examples/data:/data ogomez/fake-gcs-server:manifest-latest -scheme http

curl http://0.0.0.0:4443/storage/v1/b

Docker compose

Use the following docker-compose.yml

version: '3'
services:
  gcs:
    container_name: "GoogleCloudStorage"
    image: ogomez/fake-gcs-server:manifest-latest
    volumes:
      - ./examples/data:/data
    environment:
      scheme: http
    ports:
      - "4443:4443"

Notes

Note there is no automated build for that image and I have no plans for adding support for it

Tag summary

Content type

Image

Digest

Size

9.6 MB

Last updated

about 5 years ago

docker pull ogomez/fake-gcs-server:manifest-latest