Skip to content

Commit

Permalink
docs: add explanation for usage of docker exec instead of kurtosis ex…
Browse files Browse the repository at this point in the history
…ec (#319)

Signed-off-by: Ji Hwan <jkim@polygon.technology>
  • Loading branch information
jhkimqd authored Oct 17, 2024
1 parent 9a60347 commit bfb293f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/trustless-recovery-from-dac-l1.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kurtosis service stop cdk cdk-erigon-node-001
kurtosis service stop cdk cdk-node-001
```

Change the sequencer's `config.yaml` file using root permission.
Change the sequencer's `config.yaml` file using root permission. Under normal circumstances, `kurtosis exec` would've been used for consistency, but the sequencer's image disables root permission, so `docker exec` with the `-u root` has been used to get permission to make config file changes.

```
docker exec -it -u root $(docker ps -aqf "name=cdk-erigon-sequencer-001") sh -c "sed -i 's/zkevm.l1-sync-start-block: 0/zkevm.l1-sync-start-block: 1/' /etc/cdk-erigon/config.yaml"
Expand Down

0 comments on commit bfb293f

Please sign in to comment.