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

Remove boot2docker distribution and use socket for Serial #1

Conversation

Razorr1996
Copy link

@Razorr1996 Razorr1996 commented Jul 30, 2024

I want to return Parallels support for minikube on macOS with Apple Silicone and it's required fixes for this.

Minikube discussion: kubernetes/minikube#11219 (comment)

@afbjorklund
Copy link
Collaborator

afbjorklund commented Jul 30, 2024

Does it still work with docker-machine and boot2docker.iso, even though "distribution" changed?

-		"--distribution", "boot2docker",
+		"--distribution", "linux",

Or is it just a more generic setup? Just wondered if it is specific for minikube, or for all "machine"

@Razorr1996
Copy link
Author

It's a more generic type of distribution. boot2docker doesn't exist anymore.

❯ prlctl create minikube --distribution boot2docker --dst /Users/abasalaev/.minikube/machines/minikube --no-hdd
An incorrect value for --distribution is specified: boot2docker
The following values are allowed:
win-311         	win-95          	win-98          	win-me
win-nt          	win-2000        	win-xp          	win-2003
win-vista       	win-2008        	win-7           	win-8
win-2012        	win-8.1         	win-10          	win-2016
win-2019        	win-2022        	win-11          	win
rhel            	rhel7           	suse            	debian
fedora-core     	fc              	xandros         	ubuntu
elementary      	mandriva        	mandrake        	centos
centos7         	psbm            	redhat          	opensuse
linux-2.4       	linux-2.6       	linux           	mageia
mint            	kali            	manjaro         	zorin
macosx          	tiger           	macos-10.4      	leopard
macos-10.5      	snowleopard     	macos-10.6      	freebsd
freebsd-4       	freebsd-5       	freebsd-6       	freebsd-7
freebsd-8       	freebsd         	chrome-1        	chrome
msdos-6.22      	msdos           	os2-3           	os2-4
os2-45          	ecomstation-1.1 	ecomstation-1.2 	os2
netware-4       	netware-5       	netware-6       	netware
solaris-9       	solaris-10      	solaris-11      	opensolaris
solaris         	qnx             	openstep        	other

@afbjorklund
Copy link
Collaborator

Technically minikube uses "buildroot" and not "boot2docker" nowadays anyway, so it was not even true.

@Razorr1996
Copy link
Author

So, we just need a VM with minikube image inside it and SSH connection.

@afbjorklund afbjorklund merged commit 514098e into minikube-machine:master Jul 30, 2024
@afbjorklund
Copy link
Collaborator

afbjorklund commented Jul 30, 2024

So, we just need a VM with minikube image inside it and SSH connection.

Changing the minikube go module (for the driver) should be enough?

github.com/minikube-machine/machine-driver-parallels/v2 v2.0.2-0.20240730142131-ada9375ea417

@Razorr1996
Copy link
Author

@afbjorklund
Also, need to add Parallels to supported drivers for arm64:
https://github.com/kubernetes/minikube/blob/master/pkg/minikube/driver/driver_darwin.go#L27-L35

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

Successfully merging this pull request may close these issues.

2 participants