Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can i use boot2docker in production ? CoreOS Vs boot2docker

If not why boot2docker cannot be used in production ? what is the thing, coreOS brings that boot2docker doesn't have ?

like image 341
nkkrishnak Avatar asked Nov 27 '15 13:11

nkkrishnak


People also ask

Is Docker safe for production?

Docker containers are, by default, quite secure; especially if you run your processes as non-privileged users inside the container. You can add an extra layer of safety by enabling AppArmor, SELinux, GRSEC, or another appropriate hardening system.

What is recommended for users who have Boot2Docker installed?

It is recommended that users transition from Boot2Docker over to Docker Desktop instead (especially with the new WSL2 backend, which supports Windows 10 Home).

Can a container have multiple applications?

It's ok to have multiple processes, but to get the most benefit out of Docker, avoid one container being responsible for multiple aspects of your overall application. You can connect multiple containers using user-defined networks and shared volumes.

Can we have 2 entrypoint in Dockerfile?

But since Docker allows only a single ENTRYPOINT (to be precise, only the last ENTRYPOINT in the Dockerfile has an effect), you need to find a way to run multiple processes (the tunnel and the application) with a single command.


1 Answers

boot2docker is the name of the Linux (tinyCore) VM used in non-Linux host (by, for instance, docker machine).

If you go into production with Docker, it is best to do so on Linux host (where you don't need boot2docker anyway).

After that, it depends on your production environment: if it is a complex one (where clustering and service replication is a concern), then CoreOS proposes a platform (which does support docker): see "7 reasons why you should be using CoreOS with Docker"

https://image.slidesharecdn.com/deis-141102221759-conversion-gate01/95/ceph-docker-heroku-slugs-coreos-and-deis-overview-15-638.jpg?cb=1414966883

CoreOS is a barebones Linux distribution designed to make large multiple-machine deployments, using different softwares and dependencies, easier to scale and easier to manage. It is built for high availability and security.

It does not come with a package manager and thus requires containers such as those provided by Docker.
It uses "fleet" for cluster management and "etcd" for service discovery and keeping configuration up to date across the cluster.

like image 165
VonC Avatar answered Oct 05 '22 04:10

VonC