Update README with the correct instruction to build and test the image. Remove unuseful files
This commit is contained in:
parent
8a9d8d95d8
commit
7b9132e69e
10
README.md
10
README.md
|
@ -1,15 +1,15 @@
|
|||
# ansible-playbook-is-registry-service
|
||||
# gCore Hosting Node (gHN) distribution Docker image
|
||||
|
||||
Playbook that creates a docker container with the IS distribution
|
||||
The included Docker file will build a default image for the gHN distribution
|
||||
|
||||
## Build the imaage
|
||||
## Build the image
|
||||
|
||||
```shell
|
||||
$ docker build -t is-registry-service:v1-dev .
|
||||
$ docker build -t ghn-distribution .
|
||||
```
|
||||
|
||||
## Run the image
|
||||
|
||||
```shell
|
||||
$ docker container run is-registry-service:v1-dev --name is-registry
|
||||
$ docker container run --name gcore-hosting-node -p 8080:8080 ghn-distribution
|
||||
```
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
version: '3.4'
|
||||
|
||||
services:
|
||||
ansibleplaybookisregistryservice:
|
||||
image: ansibleplaybookisregistryservice
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
environment:
|
||||
JAVA_OPTS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005,quiet=y
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 5005:5005
|
|
@ -1,10 +0,0 @@
|
|||
version: '3.4'
|
||||
|
||||
services:
|
||||
ansibleplaybookisregistryservice:
|
||||
image: ansibleplaybookisregistryservice
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
ports:
|
||||
- 8080:8080
|
|
@ -1,10 +0,0 @@
|
|||
# Tips, links to the documentation
|
||||
|
||||
## Official documentation
|
||||
|
||||
<https://docs.docker.com>
|
||||
<https://docs.docker.com/get-started/>
|
||||
<https://docs.docker.com/develop/>
|
||||
<https://docs.docker.com/develop/develop-images/dockerfile_best-practices/>
|
||||
|
||||
Some hints on how to debug a docker image: <http://www.openwebit.com/c/how-to-debug-docker-images/>
|
Loading…
Reference in New Issue