<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with Docker image for Qlik Replicate in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551509#M16437</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/285488"&gt;@Rahul_Kale&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. But if the instance command is skipped on systemd installation, I don't understand the following things:&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Why does the&amp;nbsp;&lt;SPAN&gt;start_replicate.sh script expect this command?&amp;nbsp;&lt;BR /&gt;* Why says &lt;A href="https://help.qlik.com/en-US/replicate/May2026/Content/Replicate/Main/Installation/Server_Procedures.htm" target="_blank" rel="noopener"&gt;this page&lt;/A&gt; that non-service instances are managed with this instance command? Is a&amp;nbsp;non-service instance not the same as a non-systemd-installation?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jun 2026 06:17:25 GMT</pubDate>
    <dc:creator>sis-qlik</dc:creator>
    <dc:date>2026-06-17T06:17:25Z</dc:date>
    <item>
      <title>Problem with Docker image for Qlik Replicate</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551465#M16431</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am trying to build a docker image with the 2026 version of qlik replicate. I followed this manual:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/replicate/May2026/Content/Replicate/Main/Installation/docker.htm" target="_blank"&gt;Installing Replicate on a docker | Qlik Replicate Help&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can build the image (base image is redhat ubi10), but when I run &lt;FONT face="courier new,courier"&gt;start_replicate.sh&lt;/FONT&gt;, it fails because this script calls&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/opt/attunity/replicate/bin/areplicate stop&lt;/FONT&gt; but this file does not exist.&lt;/P&gt;&lt;P&gt;I also found articles that a non-systemd installations of replicate can be started, stopped etc through a command that is named as &amp;lt;instancename&amp;gt; and that the default instancename is&amp;nbsp;&lt;FONT face="courier new,courier"&gt;areplicate&lt;FONT face="arial,helvetica,sans-serif"&gt;.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;So, why is my installation missing the &amp;lt;instancename&amp;gt; command/file?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2026 13:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551465#M16431</guid>
      <dc:creator>sis-qlik</dc:creator>
      <dc:date>2026-06-16T13:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Docker image for Qlik Replicate</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551485#M16433</link>
      <description>&lt;P&gt;Hello sis-qlik,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the &lt;STRONG&gt;Qlik community&lt;/STRONG&gt;,&lt;BR /&gt;&lt;BR /&gt;It seems that you’re missing the areplicate instance command because it is installed &lt;STRONG&gt;only&lt;/STRONG&gt; when the RPM installer sets up systemd — in non-systemd environments (like your &lt;A href="https://help.qlik.com/en-US/replicate/May2026/Content/Replicate/Main/Installation/docker.htm" target="_blank"&gt;Docker container&lt;/A&gt;), setting systemd=no during install skips creating that wrapper.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You used systemd=no to disable systemd support in Docker, which blocks installation of the default areplicate instance command—hence it's absent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2026 17:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551485#M16433</guid>
      <dc:creator>Rahul_Kale</dc:creator>
      <dc:date>2026-06-16T17:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Docker image for Qlik Replicate</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551509#M16437</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/285488"&gt;@Rahul_Kale&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. But if the instance command is skipped on systemd installation, I don't understand the following things:&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Why does the&amp;nbsp;&lt;SPAN&gt;start_replicate.sh script expect this command?&amp;nbsp;&lt;BR /&gt;* Why says &lt;A href="https://help.qlik.com/en-US/replicate/May2026/Content/Replicate/Main/Installation/Server_Procedures.htm" target="_blank" rel="noopener"&gt;this page&lt;/A&gt; that non-service instances are managed with this instance command? Is a&amp;nbsp;non-service instance not the same as a non-systemd-installation?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2026 06:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551509#M16437</guid>
      <dc:creator>sis-qlik</dc:creator>
      <dc:date>2026-06-17T06:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Docker image for Qlik Replicate</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551513#M16438</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/370028"&gt;@davidwarner344&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The installation looks good.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;================================================================================
 Package           Architecture  Version              Repository           Size
================================================================================
Installing:
 areplicate        x86_64        2026.5.0-169         @commandline        430 M

Transaction Summary
================================================================================
Install  1 Package

Total size: 430 M
Installed size: 775 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Running scriptlet: areplicate-2026.5.0-169.x86_64                         1/1
  Installing       : areplicate-2026.5.0-169.x86_64                         1/1
  Running scriptlet: areplicate-2026.5.0-169.x86_64                         1/1
Installed products updated.
Completion plugin: Generating completion cache...
Installed: areplicate-2026.5.0-169.x86_64

Installed:
  areplicate-2026.5.0-169.x86_64

Complete!&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Jun 2026 06:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551513#M16438</guid>
      <dc:creator>sis-qlik</dc:creator>
      <dc:date>2026-06-17T06:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Docker image for Qlik Replicate</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551801#M16454</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/236422"&gt;@sis-qlik&lt;/a&gt;, I have coming up to 6 years experience running Qlik in a containerized environment, both in Fargate and Docker - the latter for local and CI pipeline builds.&lt;/P&gt;&lt;P&gt;If you'd like to share your Dockerfile I can maybe help shed some light. My personal experience is the docker images need a little massaging to get running.&lt;/P&gt;&lt;P&gt;This isn't some marketing ploy, but I've also made the decision to try and share some of the things I've learnt working in this way. It's very early days right now but I've created a github repo (I'm still refining the CI pipeline right now) which may also help - although its currently geared to working in docker with the hope to provide examples for running in AWS ECS too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My repo is here:&amp;nbsp;&lt;A href="https://github.com/VegyBS/qlik-replicate-docker" target="_blank"&gt;VegyBS/qlik-replicate-docker&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2026 10:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551801#M16454</guid>
      <dc:creator>Vegy</dc:creator>
      <dc:date>2026-06-21T10:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Docker image for Qlik Replicate</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551841#M16461</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/140896"&gt;@Vegy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;My personal experience is the docker images need a little massaging to get running.&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yeah, definitely. I wrote my own startup script that fills the gap between the installer and the docke image. The main challenge was to prepare the environment for the attunity user who runs replicate.&lt;/P&gt;&lt;P&gt;Thanks for sharing your repo. I will have a look, perhaps I will find some optimizations.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2026 12:28:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551841#M16461</guid>
      <dc:creator>sis-qlik</dc:creator>
      <dc:date>2026-06-22T12:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Docker image for Qlik Replicate</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551845#M16462</link>
      <description>&lt;P&gt;The script &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;start_replicate.sh&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;that is contained in the RPM file of replicate under &lt;FONT face="courier new,courier"&gt;opt/attunity/replicate/addons/samples/docker&lt;/FONT&gt;, had several problems in my docker image.&lt;/P&gt;&lt;P&gt;Therefore I wrote my own start script for replicate.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The original script calls the command &lt;FONT face="courier new,courier"&gt;&amp;lt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;replicate&amp;gt;/bin/areplicate&lt;/FONT&gt; which is not installed (which is by design for non-systemd installations according to&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/285488"&gt;@Rahul_Kale&lt;/a&gt;,&amp;nbsp;see his answer in this thread)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;So instead of &lt;FONT face="courier new,courier"&gt;areplicate&lt;/FONT&gt;, I had to use &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;&lt;SPAN&gt;replicate&amp;gt;/bin/&lt;/SPAN&gt;&lt;SPAN&gt;repctl.sh&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;But calling &lt;FONT face="courier new,courier"&gt;repctl.sh&lt;/FONT&gt; throwed &lt;FONT face="courier new,courier"&gt;error while loading shared libraries&lt;/FONT&gt; because the lib folder of replicate was not in the environment variable &lt;FONT face="courier new,courier"&gt;LD_LIBRARY_PATH&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;I fixed this by sourcing &lt;FONT face="courier new,courier"&gt;&amp;lt;replicate&amp;gt;/bin/arep_login.sh&lt;/FONT&gt;&lt;/SPAN&gt; (taken &lt;A href="https://community.qlik.com/t5/Qlik-Replicate/QR-Running-QR-2023-11-in-a-Red-hat-docker-image/td-p/2478085" target="_blank" rel="noopener"&gt;from this thread&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;But since replicate is started as user &lt;FONT face="courier new,courier"&gt;attunity&lt;/FONT&gt;, the sourcing had no effect because it was done by root user who runs the start script&lt;/LI&gt;&lt;LI&gt;Therefore I wrote the command&amp;nbsp;&lt;FONT face="courier new,courier"&gt;export LD_LIBRARY_PATH=$LD_LIBRARY_PATH&lt;/FONT&gt; into the file &lt;FONT face="courier new,courier"&gt;&amp;lt;replicate&amp;gt;/bin/site_arep_login.sh&lt;/FONT&gt; which seems to be loaded by&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;repctl.sh&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;The file&amp;nbsp;&lt;FONT face="courier new,courier"&gt;site_arep_login.sh&lt;/FONT&gt; is for site specific stuff&lt;/LI&gt;&lt;LI&gt;Because of this export command, &lt;FONT face="courier new,courier"&gt;LD_LIBRARY_PATH&amp;nbsp;&lt;/FONT&gt;is also set for user&amp;nbsp;&lt;FONT face="courier new,courier"&gt;attunity&lt;/FONT&gt; and replicate starts&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope this helps other users who want to build a docker image&lt;/P&gt;&lt;P&gt;Full custom start script&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#!/bin/bash
# !!! MODIFIED COPY OF STARTSCRIPT EMBEDDED IN REPLICATE-RPM !!!

# Expect four parameters:
#    1. Data folder
#    2. Admin password
#    3. Rest port
#    4. license file, or empty to indicate that no license needs to be imported.
# Create data folder and grant user attunity ownership of it

if [ -z $1 ] || [ -z $2 ] || [ -z $3 ]; then
  echo "Usage: start-replicate_sis.sh &amp;lt;Data folder&amp;gt; &amp;lt;Admin password&amp;gt; &amp;lt;Rest port&amp;gt; [&amp;lt;license file&amp;gt;]"
  exit 1
fi

mkdir -p "$1"
chown attunity:attunity "$1"

source /opt/attunity/replicate/bin/arep_login.sh
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH" &amp;gt;&amp;gt; /opt/attunity/replicate/bin/site_arep_login.sh

# Change admin password
su attunity -c "/opt/attunity/replicate/bin/repctl.sh -d $1 setserverpassword $2"
if [ ! -z "$4" ]; then
  su attunity -c "/opt/attunity/replicate/bin/repctl.sh -d $1 importlicense license_file=$4"
fi

# Run Attunity Replicate
su attunity -c "/opt/attunity/replicate/bin/repctl.sh -d $1 service start rest_port=$3"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2026 13:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551845#M16462</guid>
      <dc:creator>sis-qlik</dc:creator>
      <dc:date>2026-06-22T13:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Docker image for Qlik Replicate</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551847#M16463</link>
      <description>&lt;P&gt;Great you got it running. A couple of things to consider:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;You have to persist the ReplicateDataFolder between restarts of your container (default is /replicate/data). This is where the logs and the sqllite backend of Qlik live (this has the imported tasks, endpoints, source transaction log read/write progress, target write progress, etc). If you don't persist this directory then Qlik will start from new every start up (i.e. zero logs and zero tasks).&lt;/LI&gt;&lt;LI&gt;You will want to set a MasterKey externally and import it upon every fresh start of replicate. This is the private key that all sensitive data in the previously mentioned sqllite database is encrypted against. If you don't set it your endpoint passwords will not be able to be decrypted and you wont resume Qlik. Here's an example of you will likely want in the start up cript, before the service start:&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;LI-CODE lang="javascript"&gt;u attunity -c "/opt/attunity/replicate/bin/repctl.sh -d ${ReplicateDataFolder} setmasterkey $5 master_key_scope=1" | sed 's/setmasterkey .*/setmasterkey [REDACTED]/'​&lt;/LI-CODE&gt;&lt;P&gt;assuming you passed your private key as the 5 parameter&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Consider capturing SIGTERM and handling it by stopping the qlik replicate tasks via the command line. There is some loose documentation around this. This is one of the things I am going to look to build in the future, i.e. a qlikcli that you can call from a terminal to stop/start tasks that end up being API calls.&lt;/LI&gt;&lt;LI&gt;Considering gracefully stopping qlik replicate service before closing the container. This isn't super important but if you dont then pid files get left in a temp folder that means Qlik struggles to start the next time you start the container. Alternatively you can have this in your startup script before starting the service.&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;rm -f ${ReplicateDataFolder}/tmp/*pid​&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;Passwords and masterkey information is sent to stdout when you import them. You can see in my example above I remove it from output but consider doing the same for your password import - if thats something you/your company consider a risk.&lt;/LI&gt;&lt;LI&gt;Similarly you need to think about how sensitive data gets in to the container in the first place. In docker you might pass them via a docker-compose file or the docker command but both of these mean having sensitive data in plain text. If you use some sort of password vault consider how you might get this information at runtime and in memory before running commands with sensitive information like password, masterkey or even task endpoint passwords! If you search on the forums I have provided details of using a Qlik Addon that obtains passwords from AWS Secrets Manager at runtime. This way qlik task endpoint passwords would not contain anything sensitive and qlik handles getting the information from that vault at runtime.&lt;/LI&gt;&lt;LI&gt;Finally, exposing logs. If you want to be able to see your logs without bashing in to your container consider something like I've done on my repo. In the start up script, after service start up I do this:&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="python"&gt;_ReplicateLogs="${ReplicateDataFolder}/logs"
declare -A tailed
start_tail() {
    local logfile="$1"

    # Skip archived logs
    if [[ "$logfile" == *__*.log ]]; then
        return
    fi

    # Skip if already tailed
    if [[ -n "${tailed["$logfile"]+x}" ]]; then
        return
    fi
    tailed["$logfile"]=1

    echo "Tailing log file: $logfile"
    tail -F "$logfile" 2&amp;gt;/dev/null | sed -u "s|^|$(basename "$logfile"): |" &amp;amp;
}

# Tail all existing active logs
for logfile in "$_ReplicateLogs"/*.log; do
    start_tail "$logfile"
done

# Watch for new log files
inotifywait -m -e create "$_ReplicateLogs" |
while read -r path action file; do
    if [[ "$file" == *.log ]]; then
        start_tail "$_ReplicateLogs/$file"
    fi
done &amp;amp;

# Keep container alive forever
wait -n​&lt;/LI-CODE&gt;&lt;P&gt;This means all logs in the log folder, excluding archived logs (which qlik does automatically every time you stop a task), are output to stdout. It prefixes every log entry with the file name as there is a log file for replicate commands (the repctl.sh commands) - repcmd.log , replicate service logs - repsrv.log, and then a log for every task you have, these always start reptask_&amp;lt;taskname with _ replacing spaces&amp;gt;.log.&lt;/P&gt;&lt;P&gt;That code also requires the package inotify-tools to be installed in the container. Stick it in your dockerfile!&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2026 13:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problem-with-Docker-image-for-Qlik-Replicate/m-p/2551847#M16463</guid>
      <dc:creator>Vegy</dc:creator>
      <dc:date>2026-06-22T13:44:10Z</dc:date>
    </item>
  </channel>
</rss>

