[CentOS-devel] docker and docker-latest packages on CentOS Virt SIG

Tue May 10 14:00:52 UTC 2016
Daniel J Walsh <dwalsh at redhat.com>


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-devel at 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.)