dynamodb-admin icon indicating copy to clipboard operation
dynamodb-admin copied to clipboard

dynamodb-admin stopped working

Open dmtr-kr opened this issue 1 year ago • 5 comments

dynamodb-admin docker image stopped working. My colleagues in the team also have this problem. We guess that it is due to the implementation — we swapped the docker image 'aaronshaf/dynamodb-admin:latest' with the outdated image 'instructure/dynamo-local-admin:latest', and it worked again.

If you now try to open 'dynamo-db' on 'localhost' under the correct port, this is what it looks like. image

The container starts and throws no other errors. image

This is the configuration in 'docker-compose.yaml' image

Current local setup

  • MS Windows 10
  • Docker Desktop: Current version: 4.34.3 (170107)
  • Docker Engine v27.2.0

dmtr-kr avatar Dec 11 '24 09:12 dmtr-kr

What the latest resolves to in your case? Can you check which is the latest version that still works? Also feel free to share the whole docker-compose.yaml in text form if it reproduces using that one.

rchl avatar Dec 20 '24 11:12 rchl

I'm probably experiencing a similar issue.

ECONNREFUSED error occurs from Docker image version 5.0.1. When I reverted back to version 4.6.2 it worked fine.

services:
  dynamodb:
    container_name: dynamodb-local
    image: "amazon/dynamodb-local:latest"
    command: "-jar DynamoDBLocal.jar -sharedDb -dbPath ./data"
    ports:
      - "8000:8000"
    volumes:
      - "./data/dynamodb:/home/dynamodblocal/data"
    working_dir: /home/dynamodblocal

  dynamodb-admin:
    container_name: dynamodb-admin
    image: aaronshaf/dynamodb-admin:latest
    environment:
      - DYNAMO_ENDPOINT=dynamodb:8000
    ports:
      - 8001:8001
    depends_on:
      - dynamodb

It looks like dynamodb-admin is failing to connect to the dynamodb container.

Kenpal-ElenaTokumura avatar Jan 06 '25 01:01 Kenpal-ElenaTokumura

I found this tool instead and have been using it since 2 years. It has frequent updates as well. It has really good UI. https://github.com/kritish-dhaubanjar/dynamodb-dashboard

sbimochan avatar Jan 06 '25 08:01 sbimochan

I found this tool instead and have been using it since 2 years. It has frequent updates as well. It has really good UI.

https://github.com/kritish-dhaubanjar/dynamodb-dashboard

I think you should advertise you're the owner.

I'm looking for a solution and wonder why did you fork this repo, is this project dead?

JobaDiniz avatar Feb 16 '25 16:02 JobaDiniz

Try including http:// in your endpoint e.g. change to

- DYNAMO_ENDPOINT=http://dynamodb:8000

This worked for me with the latest image of dynamodb-admin at the time of writing. YMMV

mdgm88 avatar May 31 '25 06:05 mdgm88