A while ago, Docker announced that Docker pull requests from version 1.5 and earlier clients will no longer function as of December 15. While push requests have been disabled since Nov 19, pull requests were disabled for the Docker Hub today as well.
Version check
To check your Docker client version just run:
docker -v
If you’re on 1.5 or earlier you should really upgrade your Docker installation.
Upgrade
Docker provided a lot of informations how to install and upgrade Docker.
If you’re running Debian 8 (Jessie), we recommend you use the origin Docker engine instead of Debian’s official version. Currently Debian 8 (Jessie) provides only Docker 1.6:
# apt-cache policy docker.io docker.io: Installed: 1.6.2~dfsg1-1~bpo8+1 Candidate: 1.6.2~dfsg1-1~bpo8+1 Version table: *** 1.6.2~dfsg1-1~bpo8+1 0 100 http://ftp.debian.org/debian/ jessie-backports/main amd64 Packages 100 /var/lib/dpkg/status
To install the origin Docker engine have a look at the official docs or just use our Ansible tasks:
--- - name: make sure legacy docker packages are not installed apt: name: '{{ item }}' state: absent with_items: - lxc-docker - docker.io tags: docker - name: make sure GPG key for docker is added apt_key: state: present keyserver: hkp://p80.pool.sks-keyservers.net:80 id: 58118E89F3A912897C070ADBF76221572C52609D tags: docker - name: make sure docker repo is configured template: src: docker.list.j2 dest: /etc/apt/sources.list.d/docker.list owner: root group: root mode: 0644 register: repo tags: docker - name: update apt cache apt: update_cache: yes when: repo|changed tags: docker - name: make sure docker is installed apt: name: docker-engine state: present tags: docker - name: make sure docker is started service: name: docker state: started enabled: true tags: docker - name: make sure docker compose is installed pip: name: docker-compose state: present tags: docker
We’ve set some Role Dependencies to meet all requirements, but you just have to make sure you’ve installed the following packages as well:
- python-pip for Python’s package manager (used to install docker-compose)
- apt-transport-https for apt’s HTTPS implementation
6 Comments