summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Feng <willfeng@fb.com>2019-02-11 14:04:31 -0800
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2019-02-11 14:21:20 -0800
commit917eac91f4d8040eb51480fdfe1f75e99c33ac1a (patch)
tree6201d84b6020cac079e4552c90310b049b2add7b
parent920c684367717745c189d3c934a8027b7248f6dd (diff)
downloadpytorch-917eac91f4d8040eb51480fdfe1f75e99c33ac1a.tar.gz
pytorch-917eac91f4d8040eb51480fdfe1f75e99c33ac1a.tar.bz2
pytorch-917eac91f4d8040eb51480fdfe1f75e99c33ac1a.zip
Pin docker-ce version to the one expected by nvidia-docker2 (#16976)
Summary: Fix errors such as https://circleci.com/gh/pytorch/pytorch/760715. Pull Request resolved: https://github.com/pytorch/pytorch/pull/16976 Differential Revision: D14030665 Pulled By: yf225 fbshipit-source-id: dece6a5aa4d13ff771c18b4ce02a0b9f9572a379
-rw-r--r--.circleci/config.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index dc8013304a..257d4f1650 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -154,7 +154,8 @@ setup_ci_environment: &setup_ci_environment
echo "deb https://nvidia.github.io/nvidia-docker/ubuntu14.04/amd64 /" | sudo tee -a /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get -qq update
- sudo apt-get -qq remove linux-image-generic linux-headers-generic linux-generic
+ sudo apt-get -qq remove linux-image-generic linux-headers-generic linux-generic docker-ce
+ sudo apt-get -qq install docker-ce=18.06.1~ce~3-0~ubuntu # Pin docker-ce to the version expected by nvidia-docker2
sudo apt-get -qq install \
linux-headers-$(uname -r) \
linux-image-generic \