We are currently thinking just to use a simple bash script.cat /usr/bin/docker
#!/bin/sh
. /etc/sysconfig/docker
[ -e "${DOCKERBINARY}" ] || DOCKERBINARY=/usr/libexec/docker/docker-1.10
exec ${DOCKERBINARY} $@
And then allow user to change DOCKERBINARY in /etc/sysconfig/docker.
Then we would ship multiple docker binaries in /usr/libexec/docker/
One potential problem with this is handling of dockerinit, which will
thankfully disappear from the planet with docker-1.11.
On 03/28/2016 10:21 AM, SGhosh wrote:
|