Skip to content

Commit 79b8df5

Browse files
authored
Merge pull request #7 from dreadnode/docs/readme-docker-suggestion-v2
docs: suggestion docker bash alias rewrite 7
2 parents 57fb6ff + 76aaa81 commit 79b8df5

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,13 @@ docker pull dreadnode/robopages:latest
3232
To build your own Docker image for the tool, run:
3333

3434
```bash
35-
docker build . -t robopages
35+
docker build . -t robopages
3636
```
3737

38+
Optionally, you can create a bash alias like so:
39+
40+
`alias robopages='docker run -v /var/run/docker.sock:/var/run/docker.sock -v ~/.robopages:/root/.robopages -p 8000:8000 robopages'`
41+
3842
## Note about Docker
3943

4044
If you are using `robopages` inside a container, make sure to share the docker socket from the host machine with the container:
@@ -79,7 +83,7 @@ Install robopages:
7983

8084
```bash
8185
# install https://github.com/dreadnode/robopages to ~/.robopages/robopages-main
82-
robopages install
86+
robopages install
8387

8488
# install a custom repository
8589
robopages install --source user/repo

0 commit comments

Comments
 (0)