Couple other things to note:

Alternatives creates symlinks in /usr, and that is a read-only space for Atomic 
Host. Will need to modify "alternatives" in order to use it on AH. Something to 
track.

Docker Engine will have multiple parts with runc, containerd, dockerd,  docker 
client by the time we get to the 1.12 upstream release. The pattern of mounting 
/usr/bin/docker into the container will no longer be sufficient.



________________________________
From: Daniel J Walsh
Sent: May 10, 2016 10:00
To: The CentOS developers mailing list.
Cc: atomic-devel@projectatomic.io
Subject: Re: [atomic-devel] [CentOS-devel] docker and docker-latest packages on 
CentOS Virt SIG



On 05/10/2016 09:04 AM, Lukáš Nykrýn wrote: 
> Lokesh Mandvekar píše v Po 09. 05. 2016 v 09:54 -0500: 
>> **CentOS Virt SIG** 
>> 
>> What: 
>> - 'docker' (v1.9) http://cbs.centos.org/koji/buildinfo?buildID=10878 
>> - 'docker-latest' (v1.10) 
>> http://cbs.centos.org/koji/buildinfo?buildID=10881 
>> - both can be installed simultaneously and don't step on each other's 
>> toes, 
>>    but only one can run at a time. 
>> - /usr/bin/docker is a script which execs /usr/bin/docker-current 
>> (v1.9) or 
>>    /usr/bin/docker-latest (v1.10) based on what $DOCKERBINARY is set 
>> to. 
>> 
>> Why: 
>> - some people want v1.9 (that includes kube and openshift iiuc) 
>> - others want later versions 
>> - people also want to switch between versions without having to 
>>    install/uninstall/reinstall 
>> 
>> Comments? 
> Why don't you use alternatives 
> https://fedoraproject.org/wiki/Packaging:Alternatives ? For example 
>   google-chrome-beta and google-chrome-stable uses that approach. 
> 
> Lukas 
> _______________________________________________ 
> CentOS-devel mailing list 
> centos-de...@centos.org 
> https://lists.centos.org/mailman/listinfo/centos-devel 
We actually want to keep these totally separate.  The only thing that is 
shared between them is the socket 
the listen on since they provide the same API.   At the last second we 
were asked to add the switch to allow 
/usr/bin/docker to work with both.  (I am now thinking this might have 
been a mistake.) 


Reply via email to