nickjj / ansible-docker

Install / Configure Docker and Docker Compose using Ansible.
MIT License
750 stars 224 forks source link

Fix missing aarch64 architecture #99

Closed deimi closed 3 years ago

deimi commented 4 years ago

A raspberry pi with 64bit chip and ubuntu uses the string "aarch64".

Also see https://en.wikipedia.org/wiki/AArch64 "AArch64 or ARM64 is the 64-bit extension of the ARM architecture"

nickjj commented 4 years ago

Hi,

Does everything install and run on that device with only that change?

deimi commented 4 years ago

@nickjj Yes, except what we have discussed here https://github.com/nickjj/ansible-docker/pull/57#issuecomment-719803410, but this is not related to architecture

nickjj commented 4 years ago

I do wonder if that's related to this architecture tho or something else.

If I run this role on an amd64 machine using the steps in the README file to call this role, I'm able to login to the registry and run any Docker commands.

deimi commented 4 years ago

No, problem occurred on my test server, which is a lxc container on my notebook. I only deployed to the productive rasperry my workaround solution where I don't use our registry feature but use a dedicated docker_login task without become.

So the problem regarding become is not related to aarch64.

deimi commented 3 years ago

bump

nickjj commented 3 years ago

Thanks for the reminder and for the contribution.

I don't have this device to test it on, so I'm taking your word for it!