Categories

Debian – Jessie – Installation docker-ce

 

Script d’installation DOCKER CE

root@srv-khanh78:/data/DOCKER/DEBIAN# cat debian-install-docker-ce.sh #!/bin/bash

# https://docs.docker.com/engine/installation/linux/docker-ce/debian/#docker-ee-customers

sudo apt-get remove docker docker-engine docker.io cp -p /etc/apt/source.list /etc/apt/source.list.`date ‘+%d%m%Y’` echo “deb http://mirror.cc.columbia.edu/debian jessie main contrib non-free” >>/etc/apt/source.list sudo apt-get update

sudo apt-get dist-upgrade -y

sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg2 \ software-properties-common curl -fsSL https://download.docker.com/linux/debian/gpg | sudo […]