Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How about make Crane release package into single image? #418

Open
cmingxu opened this issue Sep 13, 2016 · 6 comments
Open

How about make Crane release package into single image? #418

cmingxu opened this issue Sep 13, 2016 · 6 comments

Comments

@cmingxu
Copy link
Contributor

cmingxu commented Sep 13, 2016

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)

@xiaods
Copy link
Contributor

xiaods commented Sep 13, 2016

alpine as base image can reduce some size.

@faddat
Copy link

faddat commented Oct 23, 2016

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....

@xiaods
Copy link
Contributor

xiaods commented Oct 25, 2016

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

@faddat
Copy link

faddat commented Oct 25, 2016

That's really great news!

@khs1994
Copy link

khs1994 commented Nov 9, 2016

可以自定义端口号吗

@upccup
Copy link
Contributor

upccup commented Nov 9, 2016

@khs1994 yeap in the env_file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants