-
Notifications
You must be signed in to change notification settings - Fork 15
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
Update default Docker Engine to Docker CE #74
Comments
The reason is that I would like to keep Barge small as possible. I know that it is not a good reason for you... |
Thank you! No worries about that. I guess the only workaround for now is to create a base data image with the updated docker version and make copies of that image whenever new VMs are created. |
Thank you for your understanding. I might be able to create a script to re-package an ISO or a Vagrant box with the latest Docker. |
Hello @ailispaw, thank you for that! I have two questions:
|
|
Here it is. It's about double in size from the original one. |
Btw, the re-package script is much faster than one from scratch, because of no compiling. |
You can create your script to add/remove anything into/from the original one quickly, based on the idea of my Dockerfile. |
Actually this idea is originally from https://github.com/bargees/barge-packer/tree/master/virtualbox/iso and https://github.com/bargees/barge-packer/tree/master/hyperv/iso. |
Ah I see. That's right. I tested that and it took about 2-3 minutes. The new ISO works perfectly. When do you know you need to call It seems like https://github.com/bargees/barge-packer/blob/master/hyperv/iso/Dockerfile#L16 just copies the init.d script for hyperv (which is very similar to what we're doing here for docker), but we're still calling |
Because we don't need to install or compile Linux kernel in this case to just update docker. If you need something from/with kernel objects, source codes or include files, you may need to
|
It seems like the default Docker Engine version is 1.10.3.
https://github.com/bargees/barge-os/blob/master/patches/0001-docker-engine-use-v1.10.3.patch#L48
The default docker version is not compatible with newer docker clients, and hence I'll need to call
sudo /etc/init.d/docker restart latest
every time I create a new VM to update the docker version.Is there any reason why we're still using
1.10.3
as the default?The latest version for CE is
18.03.0-ce
. (https://docs.docker.com/release-notes/docker-ce/#stable-releases)The text was updated successfully, but these errors were encountered: