Public Repository

Last pushed: 3 years ago
Short Description
SymmetricDS image
Full Description

The image expects that engines are mounted from a separate data volume into /opt/symmetric/engines.


If the target or source database are on the same server, one can link the containers and then address the database host name in engine connection string. In this case, engine connection strings can contain hostname postgres to connect to the container on the same host:

docker run --name symmetric \
           --volumes-from symmetric-engines \
           --link postgres:postgres \
           -w /opt/symmetric \
           -d communitycloud/symmetricds 

The default command will turn off copy-on-write for tmp folder. If logging to the file is desired, one should expose /opt/symmetric/log as a volume and also turn off copy-on-write.

By default, we log only to standard output.


The image was built manually with the following commands:

docker run -it --rm \
           -v /var/run/docker.sock:/var/run/docker.sock \

apt-get update && apt-get install -y unzip

wget \

mv symmetric-server-3.7.6 symmetric

mkdir -p /images/symmetric && mv /symmetric /images/symmetric \
&& cd /images/symmetric \
&& rm -r symmetric/{samples,doc,change-log.txt,databases} \
&& cat > Dockerfile <<EOF
FROM pointslope/openjdk7
ADD symmetric /opt/symmetric
VOLUME /opt/symmetric/tmp
CMD chattr -R +C /opt/symmetric/tmp; /opt/symmetric/bin/sym --no-log-file

docker build -t communitycloud/symmetricds . 
docker tag communitycloud/symmetricds communitycloud/symmetricds:3.7.6
Docker Pull Command