So I am trying to set up Kolab in a Docker container.
I want to set up Kolab manually (for educational reasons) and am looking for a lightweight container to do it in. Since the docker search function doesn't show container file sizes, was looking for some help. I would perfer the container to be .deb based
I am not so interested in using premade images as I am in taking a basic ubuntu image and building kolab and a lamp stack and then having it saved and running in the back ground.
I'm not sure about docker for one-offs. Maybe? CentOS is maybe good.. Older Kolab worked fine in .deb environments but not sure about the new one. The pre-made images usually have a "step by step" automation thing that does each step for the setup so you can see, for example, a yaml file that does the setup.
You could try to install it on alpine for utra slim images, but I don't recommend it as a first time thing. Debian is going to be pretty slim considering the buildpack one hardly has anything on it.
still having problems keeping dettached containers running they always stop
Try running:
docker run -d --name ubuntu ubuntu:trusty sleep Infinity
and then:
docker exec -ti ubuntu bash
ps. I should probably explain a bit what is going on... Docker is meant to have one process running in its container, once that process exits the container will stop naturally. So as a workaround you can just sleep Infinity and then attach to the container.