The docker-compose.yml file has been removed from the Substrate Node Template.
I previously found that using Docker Compose is a great way to get started with the node.
The docker-compose.yml
file is independent from the codebase and relies on the Docker image paritytech/ci-linux:production
, so it is still working the same way for me.
This all made me wonder about the following:
- Why was it removed from the project? Are there some downsides I should be aware of?
- Is there a recommended way to run a node with Docker? I have noticed the Substrate Builder Docker Image, but I am not too sure about it. Would I need it if I editing the node code, writing custom runtimes, adding palets, etc?
Note: As of the time of writing this, the latest commit in the Substrate Node Template is https://github.com/substrate-developer-hub/substrate-node-template/commit/6a8b2b12371395979099d2c79ccc1860531b0449