Skip to content

Commit 2f2b982

Browse files
author
lairdm
committed
Update documentation
1 parent 5ad58e9 commit 2f2b982

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,31 @@ Docker build environment for PSORTb
44
##Quick Start
55
```bash
66
$ git clone https://github.com/lairdm/psortb-docker.git && cd psortb-docker
7-
$ make
87
$ make build
98
$ make run
109
```
1110

1211
Then point your browser at http://localhost/ to start PSORTing (or whatever host your Docker runs on).
12+
13+
## More words
14+
15+
The full list of available commands:
16+
17+
```
18+
make build - Build image lairdm/psortb
19+
make push - Push lairdm/psortb to public docker repo
20+
make run - Run psortb container
21+
make start - Start the EXISTING psortb container
22+
make stop - Stop psortb container
23+
make restart - Stop and start psortb container
24+
make remove - Stop and remove psortb container
25+
make state - View state psortb container
26+
make logs - View logs in real time
27+
```
28+
29+
The Docker image exposes port 80, if this doesn't work for you, rather than "make run" you can manually start up the image using a different port.
30+
31+
```bash
32+
$ docker run -d -p 8000:80 --restart=always --name psortb lairdm/psortb:1.0.0
33+
```
34+

0 commit comments

Comments
 (0)