Update docker/README.md

This commit is contained in:
Hsiao-Wei Wang 2024-01-10 23:41:35 +08:00 committed by GitHub
parent 5d17550134
commit 8256e3d801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ Handy commands:
Ideally manual running of docker containers is for advanced users, we recommend the script based approach described below for most users. Ideally manual running of docker containers is for advanced users, we recommend the script based approach described below for most users.
The `scripts/build_run_docker_tests.sh` script will cover most usecases. The script allows the user to configure the fork(altair/bellatrix/capella..), image_name(specifies the container to use), number of cores, preset type(mainnet/minimal) and test all forks flags. Ideally this is the main way that users interact with the spec tests, instead of running it locally with varying versions of dependencies. The `scripts/build_run_docker_tests.sh` script will cover most usecases. The script allows the user to configure the fork(altair/bellatrix/capella..), `$IMAGE_NAME` (specifies the container to use), number of cores, preset type (mainnet/minimal), and test all forks flags. Ideally, this is the main way that users interact with the spec tests instead of running it locally with varying versions of dependencies.
E.g: E.g:
- `./build_run_test.sh --p mainnet --n 16` will run the mainnet preset tests with 16 threads - `./build_run_test.sh --p mainnet --n 16` will run the mainnet preset tests with 16 threads