crane icon indicating copy to clipboard operation
crane copied to clipboard

How about make Crane release package into single image?

Open cmingxu opened this issue 8 years ago • 6 comments

For now Crane installation is easy enough by only one line of bash command, but it occupy 4 containers MySQL, Crane Api, Crane frontend and Registry respectively, the total size of images upto 1G, need to improve but here is what I think

1, make all components into one single image/container, this is simple but lack the flexibility if user want make there own version.

2, leave the deployment/installation decision to Crane users, they can choose what DB to use, how to serve static files and how to connect a registry(Crane version or Private registry setup by themselves)

cmingxu avatar Sep 13 '16 13:09 cmingxu

alpine as base image can reduce some size.

xiaods avatar Sep 13 '16 22:09 xiaods

Mildly offtopic, tangentially related to image size:

How are speeds for docker hub in China these days? Last time I visited I noticed that they were bad enough to warrant a "China Docker Hub." Is there such a thing?

I suppose if not, it's a pretty solid startup concept....

faddat avatar Oct 23 '16 14:10 faddat

@faddat Docker announce china development news: "Docker Announces Expansion To China Through Commercial Partnership With Alibaba Cloud", so the speed is not issue currently.

xiaods avatar Oct 25 '16 03:10 xiaods

That's really great news!

faddat avatar Oct 25 '16 18:10 faddat

可以自定义端口号吗

khs1994 avatar Nov 09 '16 02:11 khs1994

@khs1994 yeap in the env_file

upccup avatar Nov 09 '16 04:11 upccup