geerlingguy / ansible-role-docker_arm

Ansible Role - Docker for ARM and Pi
MIT License
98 stars 29 forks source link

Make role work on Raspbian 10 'Buster' #2

Closed geerlingguy closed 5 years ago

geerlingguy commented 5 years ago

Right now because the Docker repos have no packages for buster, the following error is thrown on the latest releases of Raspbian:

TASK [geerlingguy.docker_arm : Run Docker install convenience script.] *************************************************
fatal: [kube1]: FAILED! => {"changed": true, "cmd": ["/tmp/get-docker.sh"], "delta": "0:00:06.923446", "end": "2019-07-08 02:17:41.858638", "msg": "non-zero return code", "rc": 100, "start": "2019-07-08 02:17:34.935192", "stderr": "+ sh -c apt-get update -qq >/dev/null\n+ sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null\ndebconf: delaying package configuration, since apt-utils is not installed\n+ sh -c curl -fsSL \"https://download.docker.com/linux/debian/gpg\" | apt-key add -qq - >/dev/null\nWarning: apt-key output should not be parsed (stdout is not a terminal)\n+ sh -c echo \"deb [arch=amd64] https://download.docker.com/linux/debian 10 stable\" > /etc/apt/sources.list.d/docker.list\n+ sh -c apt-get update -qq >/dev/null\nE: The repository 'https://download.docker.com/linux/debian 10 Release' does not have a Release file.", "stderr_lines": ["+ sh -c apt-get update -qq >/dev/null", "+ sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null", "debconf: delaying package configuration, since apt-utils is not installed", "+ sh -c curl -fsSL \"https://download.docker.com/linux/debian/gpg\" | apt-key add -qq - >/dev/null", "Warning: apt-key output should not be parsed (stdout is not a terminal)", "+ sh -c echo \"deb [arch=amd64] https://download.docker.com/linux/debian 10 stable\" > /etc/apt/sources.list.d/docker.list", "+ sh -c apt-get update -qq >/dev/null", "E: The repository 'https://download.docker.com/linux/debian 10 Release' does not have a Release file."], "stdout": "# Executing docker install script, commit: 2f4ae48", "stdout_lines": ["# Executing docker install script, commit: 2f4ae48"]}

See upstream issue: https://github.com/geerlingguy/raspberry-pi-dramble/issues/156

geerlingguy commented 5 years ago

Upstream Docker issue: https://github.com/docker/for-linux/issues/709