-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add new ISO generation method intended to replace existing Dockerfile #1332
Conversation
There's an example build up at https://gist.github.com/tianon/1ff294a629942e6f0a019c532b3b2734 (https://gist.github.com/tianon/1ff294a629942e6f0a019c532b3b2734/raw/97e8a794d019ae77b1c9636d789f790740b4ed1b/boot2docker.iso). @legal90 any chance you could test this via Parallels and ensure it does the right thing? 🙏 ❤️ (Also, is there somewhere public I could link to for Parallels Tools releases in https://github.com/tianon/boot2docker-legacy/blob/b91259e06cc066d27b3931585465b161a26c845d/tcl/files/make-b2d-iso.sh#L36?) |
So far, the best I can find is something like https://github.com/Homebrew/homebrew-cask-versions/blob/master/Casks/parallels13.rb, which at least would give us a source for updating this version number, but it isn't official (and I'm not sure where they're getting their version numbers from -- probably just stealing it from the application itself after it updates). |
@tianon Hm.. It seems that
As far as I know, the dynamic link for downloading the latest release of Parallels Desktop for Mac is https://www.parallels.com/directdownload/pd/ Lines 236 to 241 in 7c826fb
|
Whoops, that was an oversight, sorry! I've updated the branch and the gist with a newer ISO which should fix that: https://gist.github.com/tianon/1ff294a629942e6f0a019c532b3b2734 (https://gist.github.com/tianon/1ff294a629942e6f0a019c532b3b2734/raw/f84b9fbb224dbe2fbdf6d7c8a87d447d2ec4a961/boot2docker.iso) I've successfully tested this one with Hyper-V via
Ah, fair enough! I won't worry about it then. 😇 ❤️ |
@tianon Thank you! I tested the new iso and it works like a charm under on latest Parallels Desktop(v14.0.0 build 45124 at this moment) ! 🎉 |
Excellent, thanks for testing and confirming, @legal90! 👍 |
I was thinking of publishing this alongside the existing |
…startup) This solves the problem introduced by https://lkml.org/lkml/2018/4/12/711 (especially for VMs, where entropy is scarse). To elaborate a little on the problem, simply invoking "dockerd" hangs without any output until sufficient entropy is available.
…stening remotely before it configures it to do so
…machine can use "ip" and "iptables" properly)
As another point in favor of this, the resulting ISO not only has more useful tools installed (like properly configured (Even the Docker image is ~200MB smaller. 💯) |
On this version (v18.09.0), using docker-machine and vmware-vsphere driver, the network interface does not connect to DHCP, effectively making it stuck to "Waiting for VMWare tools" |
This is a whole new ISO that's intended to eventually replace the existing one (and should explicitly be compatible completely -- it's just a cleaner way to build TCL into an ISO via Docker).
The main gist of these changes is using TCL's own
tce-load
with a minor patch in order to install packages in our target environment, which allows us to largely ignore their dependencies (ie, the entire purpose of a package manager).This also includes a bump to Linux 4.14.69 and the requisite addition of
haveged
which is noted/discussed over in #1322.