Earlier quoted context omitted.
Running a Linux VM on Mac defeats some of the purpose of Docker, but it's still valuable: * Docker is useful for production and has various other benefits, and Docker for Mac is a nice way to develop locally with Docker even if it's not as efficient as on Linux. * Docker for Mac uses some built-in virtualization tools in macOS to share network and filesystem more efficiently than you could do with the older VirtualBo…
I see. okay. I assumed the main idea of Docker were reproducible builds on different machines and wanted to use it for building iOS apps.
Docker for Mac with Kubernetes
121–130 of 169 posts
Re: Docker for Mac with Kubernetes
#122Earlier quoted context omitted.
> it's not more expensive to use GKE than to roll your own Kubernetes elsewhere. $13 per month per egress rule, bandwidth costs a factor of 100 more expensive than dedicated hosters, and costs for hardware 10x of what dedicated hosters offer. I’m not sure what your definition of "more expensive" is, but compared to renting dedicated hardware (e.g., from Hetzner), or colocating, GKE is significantly more expensive. Of…
Maybe it’s my inexperience. I’ve not had to define egress rules yet. I run 1 preemptible n1-standard-2 node and pay for ancillary services. It’s $35-40/month.
That’s why I disagreed with the "GKE isn’t more expensive".
Re: Docker for Mac with Kubernetes
#123Earlier quoted context omitted.
GKE=Google cloud? I don't understand ur comment, yea using something in preinstalled in the cloud is easier than installing something on your own.
Docker isn't easy to install (see my OP). Kubernetes is probably more difficult to install, but it's not more expensive to use GKE than to roll your own Kubernetes elsewhere. And once you understand Kubernetes from a user perspecitve, it's easier to set up on your own.
depends on what scale your at and the fact that your vendor locked, can't use GKE in other data centers
Re: Docker for Mac with Kubernetes
#124Earlier quoted context omitted.
Do you really find k8s useful for a single node deployment or were you just making an example? I haven't used but I have used DC/OS, Mesos, and Marathon extensively, which is not a setup I'd do for a small number of nodes personally.
>I have used DC/OS, Mesos, and Marathon extensively Would you use DC/OS-marathon (vs k8s) now if you were to make that decision now. I've heard that mesos stack is good for machine learning/big data stacks but how does marathon compare for deploying webapps.
The DC/OS stack is nice for web apps, APIs, scheduled tasks, etc once you get it up and running. If I were just deploying small APIs and web apps, I would use something more managed like Lambda or Heroku/similar myself depending on the use case. That said, I'm more of an app dev than an ops person.
Re: Docker for Mac with Kubernetes
#125Earlier quoted context omitted.
You're running on GKE. Of course that's easy, they're handling all the difficult parts for you! It's still not that difficult running it on your own servers, but there are many more pain points. Please get some experience with that, then re-evaluate whether Docker or Kubernetes is easier for small deployments.
Right, I agree. But with your easier Swarm setup, how do you then attach cloud disks directly to your docker container, like a PersistentVolume affords? That one feature makes basically anything worth it, IMO. Most apps are stateful.
Usually I just pin containers to hosts. This is fine on a small setup. In fact, many of my small setups are just a single host.
Re: Docker for Mac with Kubernetes
#126Docker is primarily for running Linux applications on Linux (yes, I know there are things like Joyent SDC, Docker Engine on Windows etc).
Re: Docker for Mac with Kubernetes
#127Earlier quoted context omitted.
> Docker is not trivial to set up, either. Do you have a concrete example of what you ran into? What do you mean by "secure install"? on osx its just a matter on installing docker4mac and other linux distributions has pre-made packages. I am a linux noob and I was able to setup a 20 machine cluster with swarm trivially on centos7. I was acutally surprised that I was able to do that so trivially, given I have minimal…
I’m referring to all the stuff Docker machine does beyond apt-get install docker. It sets up TLS certs and sockets do you can control the docker daemon remotely. When docker machine works it’s great, but when it doesn’t it’s frustrating.
https://docs.docker.com/engine/swarm/how-swarm-mode-works/pk...
Re: Docker for Mac with Kubernetes
#128I really wish I could remember what SPOF was pertaining to, but I just can't remember. Does anyone have any idea if this is still relevant/accurate information?
He told me this maybe 2-3 years ago, so I was wondering how things have changed since then, or if anyone knows what he might have been talking about.
Re: Docker for Mac with Kubernetes
#129Earlier quoted context omitted.
No, because the purpose of Docker is not 'to run XCode CLI tools'...
I think the GP means that the purpose of Docker is to provide containers, which are a substitute for VMs. If you are going to be running a VM anyway, why run a container?
macOS doesn't support native containers. Windows does have Windows containers. Docker on Windows can run both Linux or Windows containers.
Re: Docker for Mac with Kubernetes
#130Earlier quoted context omitted.
"Kubernetes on the other hand is trivial with GKE." Yes, true, but that's apple vs oranges. Swarm doesn't compete against GKE, it competes against Kubeadm. Because sometimes one actually can't or won't use cloud services.
I guess you are right, it's apple vs. oranges. If we take GKE out of the picture, in terms of setup, is it accurate to say it competes with Kops?