From 7b9132e69e175f92d85fb27009fd0b1b803eb6f8 Mon Sep 17 00:00:00 2001 From: Antonio Calanducci Date: Mon, 25 Sep 2023 16:26:24 +0200 Subject: [PATCH] Update README with the correct instruction to build and test the image. Remove unuseful files --- README.md | 10 +++++----- docker-compose.debug.yml | 13 ------------- docker-compose.yml | 10 ---------- docs/docker-general-best-practices.md | 10 ---------- 4 files changed, 5 insertions(+), 38 deletions(-) delete mode 100644 docker-compose.debug.yml delete mode 100644 docker-compose.yml delete mode 100644 docs/docker-general-best-practices.md diff --git a/README.md b/README.md index d769724..0dde7b8 100644 --- a/README.md +++ b/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 ``` diff --git a/docker-compose.debug.yml b/docker-compose.debug.yml deleted file mode 100644 index 9ae6485..0000000 --- a/docker-compose.debug.yml +++ /dev/null @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 43ec2ec..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,10 +0,0 @@ -version: '3.4' - -services: - ansibleplaybookisregistryservice: - image: ansibleplaybookisregistryservice - build: - context: . - dockerfile: ./Dockerfile - ports: - - 8080:8080 diff --git a/docs/docker-general-best-practices.md b/docs/docker-general-best-practices.md deleted file mode 100644 index fd26c10..0000000 --- a/docs/docker-general-best-practices.md +++ /dev/null @@ -1,10 +0,0 @@ -# Tips, links to the documentation - -## Official documentation - - - - - - -Some hints on how to debug a docker image: