Please update the guide in Docker section
thiennq opened this issue · 3 comments
thiennq commented
Hello,
When I tried using pgsync with docker
docker pull ankane/pgsync
alias pgsync="docker run -ti ankane/pgsync";
pgsync --init
No file was created.
So I think the guide in docker section should be change
From:
docker pull ankane/pgsync
alias pgsync="docker run -ti ankane/pgsync"
To:
docker pull ankane/pgsync
alias pgsync="docker run -ti -v $(pwd):/opt -w='/opt' ankane/pgsync"
mneira10 commented
Just ran into this today, thanks for posting that!
Deleted user commented
#202 -- PR here that updates the README with this info.
Thanks for the great tool.
beasteers commented
It seems like this is run on-demand. Would it possible to implement a watcher with this so that it can run and sync in the background? not sure how difficult that is with postgres.