-
Notifications
You must be signed in to change notification settings - Fork 261
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
Deprecate Docker Machine #245
Comments
Hi, since I opened the other issue. I’ll respond here first. We’re mainly using docker-machine as a way to control docker servers hosted on other linux machines from one machine. In this case it’s the Gitlab CI controller node spawning AWS spot instances and installing docker on them so they can be used to execute CI jobs on demand. This doesn’t seem to be even close to the stated use case, but it works really well (aside from the occasional bug that prompted me to write the original ticket). |
I'm using docker-machine for systems with incompatible processors, specifically non-Intel hackintosh system, for example, hackintosh which uses AMD processor. Apple Hypervisor framework relies solely on Intel's VT-x that we need docker-machine and VirtualBox as a workaround to use Docker. |
We have a fork of libmachine in minikube, where it is used to start virtual machines for running Kubernetes clusters on. For now, only provisioners and drivers have been forked, and the library is using https://github.com/machine-drivers/machine Now when Kubernetes doesn't even support* Docker container runtime anymore, we plan of forking the library as well... Our provisioner is extended to be install alternative container runtimes*, and drivers now support running in containers (DinD) See https://minikube.sigs.k8s.io/docs/ https://github.com/kubernetes/minikube
|
Hi, I personally use docker for my own usage and learning. I use docker swarm and docker-machine is the simplest way i currently have to setup multiple nodes at once with the exact same configuration using a loop (being able to provide multiple nodes at once in the cli instead of relying on bash loop would be great). I don't think i would use it a lot in production use cases. |
There are some more user stories at the original
Neither project has seen any involvement since 2019, so we declared them both dead last year (2020) - officially or unofficially |
I guess the usage of machine might increase with yesterdays announcement. |
Additional to yesterdays announcement, also the possibility to use the more advanced Parallels Software as virtualisation provider is what I like with docker-machine. |
I like using it for convenience on Windows 8.1 machines since that version was not graced with WSL or native Docker for Windows support. It is a little more to-the-point than some scripts manually driving VirtualBox or Hyper-V, or vagrant and the like. I also use it on Mac in favor over Docker for Mac, which still has issues out of the box with bridge interfaces. Both of these cases are for development work only and I have alternatives to docker machine so am not dependent on it, just wanted to report that it still actively meets my needs. |
I don't think it's normal that Docker still give users the impression that docker-machine is being actively developed by not stating clearly in their documentation that it's become obsolete. I see questions related to docker-machine constantly on the internet, community channels etc. |
It was updated on https://github.com/docker/toolbox but not on https://github.com/docker/machine And it's more abandoned than obsolete, as you can see by the number of replies from machine users |
I have archived the project as we have not worked on it for two years. The code and forks remain available if people still wish to use it. |
Just to add my 2 cent: We use docker-machine to provision AWS EC2 instances with I know there is such a thing as ECS and Kubernetes, but we are not quite "there" yet. Anybody has a similar use case and a replacement already integrated? |
I |
I am evaluating the docker-machine as the open source replacement for the Docker Desktop for Mac, which is not any more free for the larger businesses: |
We use docker-machine + docker swarm to create and manage instances on Exoscale : https://github.com/exoscale/docker-machine-driver-exo This solution was very convenient |
I'am using docker-machine to bypass missing SLAT support on my DELL PRECISION M6400 intel Duo (2) Quad 9300 to setup a vmware workstation docker daemon |
I'm using docker-machine to provision instances on AWS EC2. Its faster to setup than Ansible. |
I'm using docker-machine to bootstrap and manage a few of my pet projects, there is just no simpler tool for such purposes. It's a pity that such a tool has has been abandoned |
I'm working in the embedded industry and was always pushing towards docker since it had the potential to be a great development environment, especially with the variety of tools that are required when working on different hardware projects (some tools being even incompatible to eachother, i.e., cannot be installed at the same time). After a lot of very tedious work I managed to work around the problem that accessing physical ports (even a simple USB port) within a docker container is only possible in linux: Using a setup of boot2docker with a known VirtualBox image and docker-machine I managed to set up a whole hardware End-Of-Line test environment, the machine running the setup only required docker and docker-machine to be installed. 3 years later all those projects have been killed, and even the original issue docker/for-mac#900 that was opened in 2016 (!) has essentially zero feedback. Now that also docker-machine is dead for me it is virtually impossible to continue using docker for this. So my experience with docker was this: Originally I wanted to use it to have reproducible, stable environments, with long ter support, to avoid the "works on my machine" problem and to tackle compatibility problems. Now, after only three years I'm not even able to spin up these environments anymore - which is pure horror. I guess docker will continue to be a great tool for "standard" software development, but if you're not fitting the profile (don't tell me embedded is not big enough an industry) you're out of luck. Long story short I'm now in a situation where I have to tell my clients that using docker comes with a considerable risk for non-standard use-cases. |
FYI, there seems to be a fork still maintained by gitlab : https://gitlab.com/gitlab-org/ci-cd/docker-machine |
@fxi : the gitlab fork is only intended for gitlab. https://docs.gitlab.com/runner/executors/docker_machine.html#forked-version-of-docker-machine says:
There is a similar fork of machine over at machine-drivers... |
Easy to use tools are the best choices to start learning something, or for simple/small use-cases. I used docker-machine so many times to set up nodes to use to host a swarm mode stack, and it's so easy and nice for small projects. I used it a lot expecially in university and for personal projects. I still use it for all of those use cases. The way it works so nicely with drivers for local VMs or service providers is really cool and lets me concentrate on solving problems instead of setup and configuration. I usually just have a small script that automates the setup and everything is done. |
I know Rancher maintains a fork (but I have not kept up with that one to know what changes it has compared to the original version); https://github.com/rancher/machine |
Any success yet? |
@trentmurray I saw you created a fork, you're not alone. I was considering the same thing. maybe we should just raise this project from the dead (considering Docker for Mac stil blows, and I don't ever see it getting better to be honest) |
docker-machine was incredibly efficient for spot workloads on the cloud. |
Yes, my plan is to convert boot2docker for ARM though. I don't see a reason to continue developing the x architecture anymore - current docker-machine is good enough for that. |
Doing some minor updates to the following:
For minikube, we are doing some major changes:
Currently done on a fork, but they could be backported to libmachine. * the organization was created to host drivers for machine, not all of it The updated binaries need a new organization, and some new branding. They can still use Docker® Engine and Moby, and still use Tiny Core Linux. |
@afbjorklund - where did you fork this to? |
The minikube source code can be found at: https://github.com/kubernetes/minikube See #245 (comment) for more details about it The upstream libmachine contributions are at: |
Late to the party, but we do use docker-machine to build linux docker containers from a windows host on EC2 Worked flawlessly until today when i got this error |
For anyone who stumbles across this searching for a replacement to docker-machine and/or rancher-machine (whose docker engine is not updated beyond the boot2docker's engine version- which is outdated) you may find the following useful: multipass |
Similar here. Getting |
Wayback machine to your rescue @ColonelPanic-42 ! |
See this section in the docs about how to protect the remote API with TLS; https://docs.docker.com/engine/security/protect-access/ |
I was following the OReilly Docker Cookbook (which is apparently ancient) and it has a recipe for Starting a Docker Host in the Cloud (Digital Ocean) by using Docker Machine. I was interested in scripting this. Is there a current tool that replaces this functionality? |
take a look at the docker-machine fork by rancher (https://github.com/rancher/machine) if you looking to stick to same docker-machine pattern |
Excuse me, How would you deploy with Docker Desktop ? Did i misunderstood the docker-machine? I saw some tutorials that deployed an app using docker-machine into a VPS server. |
What are folks using as an alternative now for doing multi-node testing on your local machine, since Docker Desktop doesn't fulfill this role? Kubernetes? I'm coming from @robisenberg 's "Docker for Rails Developers" (which utilizes |
Well, it's not the same... But maybe https://multipass.run/ might be an alternative for you. |
Sad to hear it is deprecated. It seems such a clean solution on a virtual server on amazon to do this
As suggested here https://stackoverflow.com/a/50646504/1164009 |
Tell us about your request
The Docker Machine project started in 2014 to make it easier to setup and run Docker in a virtual machine. One of the major use cases for this was to make it easier to use Docker on macOS and Windows. Since its release in 2016, Docker Desktop has been seen as the replacement for Docker Machine to develop with containers on macOS and Windows. Not only does Docker Desktop provide a Docker API endpoint but it also provides transparent handling of file sharing and networking between the host and VM which make container development easier.
While originally Docker Desktop did not support all widely used versions of macOS and Windows, this is no longer the case. Docker Desktop supports macOS 10.14 or later and Windows 10 (1909) or later.
If you are an active user of Docker Machine, please let us know here about what you're using it for and how it's helping you.
Which service(s) is this request for?
Docker Machine
The text was updated successfully, but these errors were encountered: