Why not support a docker-compose file with a configured mysql image to run rancher server?

  • We package as one container to make it as easy as possible to try. Installing and using docker-compose is 200% more steps to explain than docker run rancher/server.

  • The built-in database is meant for just that. If you’re at the point where you’re customizing mysql config, yes you should probably be running a separate container. But us providing a template that does nothing but deploy mysql:latest is of minimal value.

  • Most serious installations end up with a multi-master database on multiple hosts, or 3rd-party hosted database (e.g. Amazon RDS). docker-compose helps with neither.

I don’t think Rancher runs docker-compose direclty

docker-compose (originally Fig) is Python, rancher-compose uses libcompose in Go, which we contributed to Docker.

1 Like