Migration Seafile CE from binary to docker

I’m using 3TB of storage data i would like to migrate from binary version 11 CE to docker version 12 CE from.
The documentation wrote “Upgrade the version of the binary package to latest version, and ensure that the system is running normally.” but can I switch to docker version 12 CE when my binary version is latest 11?
Second question, can I configure seafile database connection with socket? now i’m using the classic TCP connection.

When I upgraded to 12, I went straight to the docker version. It does mean that more can go wrong. When I did it, I first try the process a couple of times with a test seafile server to make sure everything worked. Then I made a snapshot of the main system and did it again there so I could start over if something went wrong.

You could do the the database over a socket in the binary version, but AFAIK you cannot do that with the docker version. The isolation of running in the container makes it close enough to running on another machine that you have to do the TCP.

Thanks for the answer, about the mysql socket connection i could mount in bind mode on the container instance. The socket connection could be more performance, i think

That’s in interesting idea I hadn’t thought of. Thanks for that, when I get some time I might have to play with it and see if I can make it work.