Navigation Menu

Skip to content
Boris Rybalkin edited this page Apr 26, 2023 · 20 revisions

To run Syncloud image under docker use the following command:

Prepare docker

Make sure you are using systemd cgroupdriver

Edit: /etc/docker/daemon.json

{
  "exec-opts": ["native.cgroupdriver=systemd"]
}

Restart:

sudo systemctl restart docker

Otherwise container will not function after restart and you will see something like this in your /var/log/syslog:

kernel: systemd[1]: Failed to attach 1 to compat systemd cgroup /docker/.../init.scope: No such file or directory
kernel: systemd[1]: Failed to open pin file: No such file or directory
kernel: systemd[1]: Failed to allocate manager object: No such file or directory
kernel: systemd[1]: Freezing execution.

Start Syncloud container

docker run \
  --restart=always \
  --name=syncloud \
  --volume=/storage:/opt/disk/internal \
  --privileged \
  --detach=true \
  -–network=host \
  --publish=443:443 \
  syncloud/platform-buster-amd64:22.02

Where /storage is a directory on your host with ext4 filesystem

Architectures:

  1. platform-buster-amd64
  2. platform-buster-arm
  3. platform-buster-arm64

It should work on any Linux OS with docker installed.

Open https://localhost (or https://[IP of your docker machine]) in your browser and follow the activation procedure.

Zigbee usb device

To use host usb device add this to the docker command:

--device /dev/ttyUSB0:/dev/ttyUSB0