Comments (10)
Hi,
Have you ran an apt update on your host yet?
from ansible-docker.
Yes, did it now again, then ran your playbook, same, where do I look?
PLAY [Docker to Host] **********************************************************************************************************************************************************************************
TASK [Gathering Facts] *********************************************************************************************************************************************************************************
ok: [rh02test]
TASK [nickjj.docker : Disable pinned Docker version] ***************************************************************************************************************************************************
ok: [rh02test]
TASK [nickjj.docker : Enable pinned Docker version] ****************************************************************************************************************************************************
skipping: [rh02test]
TASK [nickjj.docker : Install Docker's dependencies] ***************************************************************************************************************************************************
[WARNING]: Could not find aptitude. Using apt-get instead
ok: [rh02test]
TASK [nickjj.docker : Add Docker's public GPG key to the APT keyring] **********************************************************************************************************************************
ok: [rh02test]
TASK [nickjj.docker : Configure Docker's upstream APT repository] **************************************************************************************************************************************
ok: [rh02test]
TASK [nickjj.docker : Install Docker] ******************************************************************************************************************************************************************
fatal: [rh02test]: FAILED! => {"changed": false, "msg": "No package matching 'docker-ce' is available"}
PLAY RECAP *********************************************************************************************************************************************************************************************
rh02test : ok=5 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
from ansible-docker.
I never used RPi3B or Buster lite. Is it possible to run the regular version of Buster?
There's a lot of details about Docker's lack of support for Raspbian Buster here: docker/for-linux#709
from ansible-docker.
Nope, same problem, after installing Stretch.... Must be something else then, where do I start looking? Even after running sudo apt-get update / sudo apt-get upgrade from command line again?
from ansible-docker.
Can you take a look at this issue and see if one of the proposed fixes gets it working for you?
from ansible-docker.
Per #65, I added to my inventory/host_vars/all/all.yml
:
docker__package_dependencies:
- "apt-transport-https"
- "ca-certificates"
- "cron"
- "gnupg2"
- "software-properties-common"
- "libssl-dev"
- "libffi-dev"
Furthermore, in~\.ansible\roles\nickjj.docker\defaults\main.yml
I changed to the entries of docker__package_dependencies
and docker__apt_repository
:
docker__package_dependencies: >
[
{% if ansible_architecture == "aarch64" %}
"libffi-dev",
"libssl-dev",
{% endif %}
"apt-transport-https",
"ca-certificates",
"cron",
"gnupg2",
"software-properties-common"
]
docker__apt_repository: >
{% if ansible_architecture == "aarch64" %}
deb [arch=arm64]
{% else %}
deb [arch=amd64]
{% endif %}
https://download.docker.com/linux/{{ ansible_distribution | lower }}
{{ ansible_distribution_release }} {{ docker__channel | join (' ') }}
It is not working, is this what you meant?
from ansible-docker.
Yes, although technically you wouldn't have had to edit the role directly.
When you ran an apt-get update the first time, did it look like it added a bunch of new things?
from ansible-docker.
yes
from ansible-docker.
Hard to say. On one hand it works on Debian Buster here and on the CI server, and others are able to get it up and running on Raspian and general arm64 / aarch64 architectures.
Can you try installing another external package besides docker-ce and see if that works?
from ansible-docker.
Since it's been a few months and these are technically unsupported platforms I'm going to close this. On the bright side, it does look like it does work based on a few comments listed here.
from ansible-docker.
Related Issues (20)
- Support for docker.io package (in addition to ce and ee) HOT 4
- Failed : Install Docker's dependencies HOT 9
- Package dependency error for Docker installation on clean Ubuntu 18.04 HOT 11
- Ubuntu 20.04 ImportError: No module named pkg_resources HOT 10
- Avoid docker login issue with X11 HOT 11
- Expected behavior for DockerHub private repositories login options? HOT 19
- Failed to import the required Python library HOT 10
- Update apt cache before installing packages HOT 1
- Add way to add additional packages to install HOT 3
- Versioning pinning not working HOT 5
- Install Python packages: Could not get output from /usr/local/bin/virtualenv --help HOT 16
- Hi; Please consider suppressing credentials output in: Manage Docker registry login credentials HOT 8
- Upgrade edge case HOT 9
- I'm thinking about no longer setting up a virtualenv, pip installing docker / docker compose and switching the docker_login module to a shell script HOT 2
- docker not installed into /usr/local/bin HOT 4
- Unable to find pip in the virtualenv HOT 8
- Error in new v2.2.0 version when using ansible 2.9.14 HOT 3
- Docker Compose V1 causes the Install Python packages step to crash HOT 3
- Error with pip on basic usage HOT 2
- Task exception at: Install Python packages HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-docker.