ST in docker running on Rockstor

I have 3 computers working in this environment, 1 - windows and 2 Suse/rockstor NAS and I need help please.

Problem. Rockstor puts everything into ‘shares’ which are configured under MNT2/pool-name/share name (music)

ST docker image is prebuilt with only 2 files exported to the OS from docker. These are a config file in MNT2 and a data file also in MNT2.

I can’t change the docker image because it is prebuilt and only has 2 inputs to tell it what shares to use for config files and data.

Here is my problem (I am new to NAS and Linux and docker and ST) I want to replicate these shares using ST but I will have to use CLI commands to do this. I know I have to use docker commands to pass info to ST and I can do that but what I have not been able to figure out is what commands to use to add these shares into ST and will they modify startup files so they are there permanently.

here is how I would do it. docker exec -it syncthing sh
Once in shell I can talk directly to ST. I think I have to pass Volume and bind commands.

so first I have to setup ST to see the files in the host and that is where I need help ten I can figure out the rest. I want to sync from vault1 the folder /mnt2/Data-1/Music to vault 2 in the same file location which is already there with data in it.

I hope this makes sense.

Thanks

You can only add bind mounts at container creation time, you cannot add them to a running container. Mounts in Docker are specified during container creation (docker run and friends) and don’t need to be specified in the container’s image.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.