Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AliBelali authored Apr 21, 2024
1 parent e4709e4 commit b8480aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 /<your path>/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 /<your pgsql on host path>/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

0 comments on commit b8480aa

Please sign in to comment.