From b8480aa09879f30610c794cbcb929a9168ca8b86 Mon Sep 17 00:00:00 2001 From: AliBelali <121201502+AliBelali@users.noreply.github.com> Date: Sun, 21 Apr 2024 04:13:05 +0330 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d24d04f..8ed33d4 100644 --- a/README.md +++ b/README.md @@ -51,14 +51,14 @@ You can mount postgresql database from your host: Copy content of postgresql from container to host : - docker cp IBSng:/var/lib/pgsql //pgsql + docker cp IBSng:/var/lib/pgsql /var/lib/ -stop and remove ibsng container: +stop and remove IBSng container: - docker rm ibsng -f + docker rm IBSng -f start container again with -v option as follow: - docker run -d -p 80:80 --name IBSng -v //pgsql:/varlib/pgsql alibelali/ibsng + docker run -d -p 80:80 --name IBSng -v /var/lib/pgsql/:/var/lib/pgsql/ alibelali/ibsng Also there is an alternative way to pull docker from DockerHub: https://hub.docker.com/r/alibelali/ibsng