2023-10-24, 02:08 PM
You shouldn't need to clone anything, really.
One of the main benefits of docker is config and data portability. Whatever directory that corresponds to /config in your container needs to be copied. Point the new container to that folder. Done.
Same with your media. Move your new media to whatever new hard drive/directory, point your container's config to those new folders but keep the same container side path. Done.
If you do both of those things, once you turn on the container it should be like nothing changed. And I am going to emphasize that both be done before turning on the container.
One of the main benefits of docker is config and data portability. Whatever directory that corresponds to /config in your container needs to be copied. Point the new container to that folder. Done.
Same with your media. Move your new media to whatever new hard drive/directory, point your container's config to those new folders but keep the same container side path. Done.
If you do both of those things, once you turn on the container it should be like nothing changed. And I am going to emphasize that both be done before turning on the container.