updated docker docks
This commit is contained in:
parent
a25ecdcc68
commit
f5db05da35
@ -27,13 +27,13 @@ Note that you will need to adjust the local path of the git repo and the docker
|
||||
|
||||
- On a terminal window, start Hero docker
|
||||
```
|
||||
sudo docker run --name herodocker -v /local/machine/path/to/git/repo:/docker/path/to/git/repo/ ghcr.io/scottyeager/hero:latest
|
||||
sudo docker run --name herodocker -d -v /local/machine/path/to/git/repo:/docker/path/to/git/repo/ ghcr.io/scottyeager/hero:latest
|
||||
```
|
||||
- In our case, the docker path to the repo is the following
|
||||
```
|
||||
/root/code/git.ourworld.tf/tfgrid/info_tfgrid/
|
||||
```
|
||||
- Open a new terminal window and enter the following. We will be working on this window now.
|
||||
- Execute the Hero docker container
|
||||
```
|
||||
sudo docker exec -it herodocker bash
|
||||
```
|
||||
@ -66,11 +66,10 @@ Note that you will need to adjust the local path of the git repo and the docker
|
||||
```
|
||||
http://172.17.0.2:3000/
|
||||
```
|
||||
- To stop the container, exit the current window and run the following:
|
||||
- To stop the container, exit the Docker container with `exit` and run the following:
|
||||
```
|
||||
sudo docker stop herodocker
|
||||
```
|
||||
- The first terminal window that was running **docker run** should now have exited Docker.
|
||||
- To start Hero after having stopped the container, run the following:
|
||||
```
|
||||
sudo docker start herodocker
|
||||
|
Loading…
Reference in New Issue
Block a user