I'm trying to setup a Codespace container so that I'll be able to use MongoDB server. Simple installation described on the MongoDB website doesn't work. The installation succeeds however I'm not able to use systemctl
to run the service. On the other hand the command service --status-all
shows there's no mongod
available.
I've found following topic: How do I connect to MongoDB, running in Github codespaces, using MongoDB Compass?. It looks like someone configured MongoDB as a tool built-in into container. However reading the question further I found that the goal there is to connect with Mongo on local machine from the container.
Is it even possible to install MongoDB in the Codespace, like any other piece of software, and then run it?