Seems like aforementioned package is not available on Ubuntu 18.04
(Bionic). This commit excludes that version from installation of Docker.
Change-Id: Ib1864497dd19caadf9077386ce278712e4f5de8f
(cherry picked from commit 17a865e064)
ENABLE_CLEAR_CONTAINER should be set to false by default as they're
relying on third party repos which could break devstack installation at
some point.
Change-Id: I99b26650f6c68e8563dcde589bda7ccdc6a19a46
Some distros docker packaging use systemd instead of cgroupfs as the
cgroupdriver. This patch allows users to choose their cgroupdriver.
Change-Id: I95b51591d0aa5495ec583c3c87c77942109b4067
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
Docker turn off debug mode by default, but the non-debug mode
doesn't provide enough information for development. It is handy
to have a way to turn on the debug mode.
Change-Id: I403ea7cc43b0b0808bfac3ec6f9ac7586f4723f6
In devstack gate, jobs might be run with users other than $STACK_USER,
so the docker group should be configurable.
Change-Id: I64665b9883094d5603f3e737a1c08d924a058960
It looks the function 'warn' might return unsucessfully which
abort the devstack script. Let's use echo instead.
Change-Id: I931f3c649fb3637fd7be667644731329fa12cd07
This package doesn't present at ec2 Ubuntu instance. Docker
installation may or may not work in this case. This commit
detect the presence of these packages and print a warning.
Change-Id: I2c5b4ed1446d63949be4d181da696933df4c64f8
The SWARM_MODE variable is for determining whether to set the
cluster_store options of docker daemon. Therefore, change it to
DOCKER_CLUSTER_STORE to make it clear.
Change-Id: I79f00c7cc158d825627ce6a9d28b053b0cf3c076
There are several projects that tried to install docker in different
ways. This potentially lead to failure of more than one such services
were enabled. This commit consolidate docker installation into
a devstack plugin so that other services could depend on it.
The initial script was mainly from Kuryr-libnetwork. Kuryr, Fuxi,
and Zun might leverage this script to install Docker in the future.
Change-Id: I97dbff2f361acc98b12ec6f40ab115c8548477a3