Skip to content

sonnguyen-dba/OpenLogReplicator-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenLogReplicator-docker

Dockerfile for OpenLogReplicator

You can compile with Debian or Ubuntu image: bersler/openlogreplicator

Please refer to build.sh for reference how to run docker build command.

The script will automatically create a docker image with /opt/OpenLogReplicator. As a result you should see version banner:

    + ./src/OpenLogReplicator
    2022-12-10 23:59:56 [INFO] OpenLogReplicator v.1.0.0 (C) 2018-2021 by Adam Leszczynski ([email protected]), see LICENSE file for licensing information

It means that the binary is correctly build. You can provide custom GID/UID - which is used to run OpenLogReplicator. The group/user would be used by docker image to run the OpenLogReplicator process. Please choose the group/user that would have appropriate privileges to access files (write checkpoint files and read redo log files).

  1. Running example:

     mkdir script
     mkdir checkpoint
     vi scripts/OpenLogReplicator.json
     # create some content for config and run
     docker run --name OpenLogReplicator -v /opt/fast-recovery-area:/opt/fast-recovery-area \
     -v ./scripts:/opt/OpenLogReplicator/scripts \
     -v ./checkpoint:/opt/OpenLogReplicator/checkpoint \
     bersler/openlogreplicator:debian-11.0
    

About

Dockerfile for OpenLogReplicator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 72.6%
  • Shell 27.4%