How to use cozy cloud in a persistent way with docker.
First, simply creating a docker container with cozy running in it can be done this way.
dockrer run -d --restart=always --name cozy -p 6500:443 cozy/full
-d makes it run in background (you can remove it to see the logs at startup, but you can also use docker logs cozy
to see them either way).
--restart=always means that if the docker service is restarted, or even the server, the container will be restarted right away, making for less maintainance for you.