Readme.md 574 Bytes
Newer Older
1 2 3 4 5 6
## docker build
```
docker image build -t zeesecurity-image .
```
build with tag
```
Goragod committed
7
docker image build -t registry.myhr.co.th/zeesecurity:0.0.6 .
8 9 10 11 12 13 14 15 16 17 18 19 20
```

## docker tag version
```
docker image tag zeesecurity-image registry.myhr.co.th/zeesecurity
```
or 
```
docker image tag zeesecurity-image 10.1.1.174:5000/zeesecurity
```

## push image to registry
```
Goragod committed
21
docker push registry.myhr.co.th/zeesecurity:0.0.6
22 23 24 25 26 27 28 29
```
or
```
docker push 10.1.1.174:5000/zeesecurity
```

## run on docker
```
Goragod committed
30
docker run -p 8180:8080 --name zeesecurityapi registry.myhr.co.th/zeesecurity:0.0.6
31 32 33 34 35
```