The recommended way to run Space Cloud is using the
space-cli setup command, which installs Space Cloud in a Kubernetes cluster.
Running Space Cloud as a standalone docker container comes with some feature restrictions.
The features which are
striked through are not available since they depend on Kubernetes.
Running Space Cloud in docker can be useful for the following use cases:
We ship a
docker-compose file for those seeking to use Space Cloud as a standalone docker image. Download the
docker-compose file using commands shown below:
Windows users should use power shell for running the below command.
curl "https://raw.githubusercontent.com/spacecloud-io/space-cloud/master/install-manifests/docker/mongo/docker-compose.yaml" -o docker-compose.yaml
curl "https://raw.githubusercontent.com/spacecloud-io/space-cloud/master/install-manifests/docker/postgres/docker-compose.yaml" -o docker-compose.yaml && curl "https://raw.githubusercontent.com/spacecloud-io/space-cloud/master/install-manifests/docker/postgres/postgresql.conf" -o postgresql.conf
curl "https://raw.githubusercontent.com/spacecloud-io/space-cloud/master/install-manifests/docker/mysql/docker-compose.yaml" -o docker-compose.yaml
curl "https://raw.githubusercontent.com/spacecloud-io/space-cloud/master/install-manifests/docker/sql-server/docker-compose.yaml" -o docker-compose.yaml
Run the following command to start the containers:
docker-compose up -d