Skip to content

Commit 253d49b

Browse files
Update README with Docker run instructions
Added instructions for running the Docker container using AWS CLI profiles.
1 parent 0f5c1c5 commit 253d49b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,16 @@ Visit:
167167
```bash
168168
docker pull maheshcloud1/iam-xray:v0.1.0-beta
169169
```
170+
##### Option A — Use AWS CLI Profiles
170171

172+
```bash
173+
docker run -p 8501:8501 \
174+
-v "${USERPROFILE:-$HOME}/.aws:/home/iamx/.aws:ro" \
175+
-v "$(pwd)/data:/app/data" \
176+
maheshcloud1/iam-xray:v0.1.0-beta
177+
```
178+
179+
##### [](https://hub.docker.com/r/maheshcloud1/iam-xray#option-b--environment-variables)
171180
### **Run**
172181

173182
```bash

0 commit comments

Comments
 (0)