The whole description assumes that you use the predefined k8s deployment descriptors (or a helm chart?) or the docker-compose.yml. Though, the maintainer actualy forgot to link them. Without them, the description is insufficient.
Also: are you even running a Swarm or Kubernetes cluster? If you didn’t specifically enable swarm or install a Kubernetes cluster, the anser is high likely “no”…
You need to get in touch with the maintainer and ask him to fix the documentation.
After I searched the github repo, I did find the docker-compose.yml needed to make docker Swarm deployment. Fetch the docker-compose.yml with this command:
wget -L https://raw.githubusercontent.com/instantlinux/docker-tools/master/images/open-xchange-appsuite/docker-compose.yml
Then set your secrets:
echo -n mysecret1 | docker secret create ox-admin-password -
echo -n mysecret2 | docker secret create ox-db-password -
echo -n mysecret3 | docker secret create ox-master-password -
mysecret1, mysecret2, mysecre3 are strings, please replace them with whatever password you want to use when running the commands.
Then deploy the stack with
docker stack deploy -c docker-compose.yml stackname (replace stackname with however you want to name your stack)
If you didn’t initiate a swarm cluster yet, use the command
docker swarm init to initate a swarm.
This is NOT a docker. The maintainer provides a docker image, when you run it, it is a container. And you do not edit Kuberenetes or Swarm with a container - your use Kuberentes or Swarm as an orchestrator to deploy the container.