github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/deploy/test-in-docker/README.md (about) 1 To support development and testing, we include here a script to run 2 all tests inside a docker container. 3 4 > Dockerfile included as well. 5 6 This way you can rebuild your local sources, change tests, and play with 7 your local development without worrying that the changes you have made 8 impact any other tests, sources, or deployments. 9 10 To start testing, run: 11 12 ```console 13 $ ./test.sh --name=your_container_name 14 ``` 15 16 This command will build and start Docker container and will output logs to 17 current terminal window. Note that this will start only non-cloud (local) bucket 18 tests. 19 20 **TIP:** It is good practice to name your container according to the feature you 21 were developing eg.: `new_feature`. This way you can start multiple testing 22 dockers and they will not interfere with each other. Moreover, you will be able 23 easily distinguish and switch between different Dockers. 24 25 ## Clouds 26 27 You can also provide credentials to `AWS` or `GCP` and pass it to script: 28 29 ```console 30 $ ./test.sh --name=your_container_name --aws=~/.aws 31 ``` 32 33 This way testing will use given cloud in the backend (uniquely named cloud 34 bucket will be created automatically). 35 36 Because of Docker isolation you can safely run multiple instances of testing 37 containers (remember to uniquely name the containers). 38 39 ```console 40 $ ./test.sh --name=your_container_name_local & # run local 41 $ ./test.sh --name=your_container_name_cloud --aws=~/.aws & # run cloud (aws) 42 ```