From 8b5d05eeef15fbfdc90a6626c78c8b7da31fe365 Mon Sep 17 00:00:00 2001 From: lguohan Date: Mon, 6 Feb 2017 21:11:18 -0800 Subject: [PATCH] [sonic-slave]: upgrade docker engine in sonic-slave to 1.13.0 (#272) --- sonic-slave/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sonic-slave/Dockerfile b/sonic-slave/Dockerfile index 41c65e3465..0398581dcd 100644 --- a/sonic-slave/Dockerfile +++ b/sonic-slave/Dockerfile @@ -89,8 +89,9 @@ RUN pip install j2cli RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /usr/share/depot_tools ENV PATH /usr/share/depot_tools:$PATH -# Install docker engine 1.11.2 inside docker -RUN curl -sSL https://get.docker.com/ | sh && apt-get install -y --force-yes -q docker-engine=1.11.2-0~jessie +# Install docker engine 1.13.0 inside docker and enable experimental feature +RUN curl -sSL https://get.docker.com/ | sh && apt-get install -y --force-yes -q docker-engine=1.13.0-0~debian-jessie +RUN echo "DOCKER_OPTS=\"--experimental\"" >> /etc/default/docker # Add user ARG user