Skip to content

Commit 0d7400b

Browse files
authored
Update README.md
1 parent 43253a2 commit 0d7400b

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ You can then follow the step by step instructions below dependent on your operat
103103

104104
#### Docker
105105
##### Option 1. To run the container in interactive mode:
106-
```
107-
bash docker run -it --mount type=volume,source="bitpingd-volume",target=/root/.bitpingd bitping/bitpingd:latest
106+
```bash
107+
docker run -it --mount type=volume,source="bitpingd-volume",target=/root/.bitpingd bitping/bitpingd:latest
108108
```
109109

110110
##### Option 2. To run the container and pass email and password via CLI instead of an interactive session run:
@@ -116,7 +116,16 @@ You can then follow the step by step instructions below dependent on your operat
116116
```bash
117117
docker run -it --mount type=volume,source="bitpingd-volume",target=/root/.bitpingd bitping/bitpingd:latest
118118
```
119-
119+
120+
##### Option 3. Login with environment variables:
121+
```bash
122+
docker run -it \
123+
-e BITPING_EMAIL='YOUR_BITPING_EMAIL' \
124+
-e BITPING_PASSWORD='YOUR_BITPING_PASSWORD' \
125+
-e BITPING_MFA='YOUR_BITPING_2FA_CODE' \
126+
--mount type=volume,source="bitpingd-volume",target=/root/.bitpingd bitping/bitpingd:latest
127+
```
128+
120129
## Support
121130

122131
If you encounter any issues or need further guidance, please:

0 commit comments

Comments
 (0)