@@ -81,7 +81,7 @@ docker run --rm -v $(pwd):/opt/indexer -e INDEXER_MIN_STAKE_THRESHOLD=5000000000
8181### Troubleshooting
8282
8383- ** Build failures** : Ensure you have sufficient RAM (4GB+) and disk space
84- - ** Permission issues** : On some systems, you may need to use ` sudo ` with podman/ docker commands
84+ - ** Permission issues** : On some systems, you may need to use ` sudo ` with docker commands
8585- ** Volume mount issues** : Ensure the current directory path is correct and accessible
8686- ** Dependency issues** : The image includes ` yarn install ` to ensure all dependencies are properly resolved
8787
@@ -123,7 +123,7 @@ cd indexer
123123yarn install
124124
125125# Build the development image
126- podman build -f Dockerfile.dev -t indexer-dev:latest .
126+ docker build -f Dockerfile.dev -t indexer-dev:latest .
127127```
128128
129129### 2. Make Changes
@@ -136,13 +136,13 @@ podman build -f Dockerfile.dev -t indexer-dev:latest .
136136
137137``` bash
138138# Test compilation
139- podman run --rm -v $( pwd) :/opt/indexer indexer-dev:latest bash -c " cd /opt/indexer && yarn compile"
139+ docker run --rm -v $( pwd) :/opt/indexer indexer-dev:latest bash -c " cd /opt/indexer && yarn compile"
140140
141141# Run tests
142- podman run --rm -v $( pwd) :/opt/indexer indexer-dev:latest bash -c " cd /opt/indexer && yarn test"
142+ docker run --rm -v $( pwd) :/opt/indexer indexer-dev:latest bash -c " cd /opt/indexer && yarn test"
143143
144144# Test specific functionality
145- podman run --rm -v $( pwd) :/opt/indexer indexer-dev:latest bash -c " cd /opt/indexer/packages/indexer-agent && node bin/graph-indexer-agent start --help"
145+ docker run --rm -v $( pwd) :/opt/indexer indexer-dev:latest bash -c " cd /opt/indexer/packages/indexer-agent && node bin/graph-indexer-agent start --help"
146146```
147147
148148### 4. Commit and Push
@@ -285,4 +285,4 @@ When making changes that affect performance:
285285- [ Yarn Workspaces] ( https://classic.yarnpkg.com/en/docs/workspaces/ )
286286- [ TypeScript Documentation] ( https://www.typescriptlang.org/ )
287287- [ Docker Documentation] ( https://docs.docker.com/ )
288- - [ Podman Documentation] ( https://podman.io/getting-started/ )
288+ - [ Podman Documentation] ( https://podman.io/getting-started/ ) (alternative to Docker)
0 commit comments