Jump to content
ON-DEMAND Webinar: The Ultimate Guide to VM Backup and Recovery ×
NAKIVO Community Forum

Rolando_Ramirez

Members
  • Posts

    3
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Rolando_Ramirez

  1. On 10/17/2021 at 10:15 AM, RJB said:

    Forgot the systemctl replacement

    2a - wget https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl.py -O /usr/local/bin/systemctl

    2b - make it executable: chmod +x /usr/local/bin/systemctl

    and create a script which starts the required(iscsid, nkv-bhsvc, nkv-dirsvc) services

    For those interested in running Nakivo in a Docker container.. this is the Dockerfile I came up with RJB ideas:

     

    # based on ideas from:
    #   https://forum.nakivo.com/index.php?/topic/6376-synology-dsm-7-and-nakivo-104-not-compatible/&do=findComment&comment=8166

    FROM ubuntu:18.04

    # update
    RUN apt-get update
    RUN apt-get -y upgrade

    # pre-requisites
    RUN apt install -y cifs-utils ntfs-3g open-iscsi
    RUN apt-get update
    RUN apt-get -y upgrade

    # systemctl replacement
    RUN  apt-get update \
      && apt-get install -y wget \
      && rm -rf /var/lib/apt/lists/*
    RUN wget https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl.py -O /usr/local/bin/systemctl
    RUN chmod +x /usr/local/bin/systemctl

    # Copy installer
    COPY installers/NAKIVO_Backup_Replication_v10.7.2.69768_Installer-FREE.sh /var/tmp/installer.sh
    RUN chmod +x /var/tmp/installer.sh
    RUN /var/tmp/installer.sh -f --eula-accept
    RUN rm /var/tmp/installer.sh

    # Start services
    CMD service iscsid start && service nkv-bhsvc start && service nkv-dirsvc start && tail -F /var/log/nakivo_container.log
     

×
×
  • Create New...