Hi Dmitri,
We have not packaged arm64 binaries - so you'll need to use the x86/amd64 binaries...
I've gotten this to work on an M1 Mac via Docker... (the key was the --platform flag):
$ docker run -d --platform linux/amd64 --name ub20icommands ubuntu:20.04 tail -f /dev/null
$ docker exec -it ub20icommands /bin/bash
then within the container, install the iCommands
# apt-get update
# apt-get install -y wget sudo lsb-release gnupg
# apt-get update
# apt-get install -y irods-icommands
then back on the host
$ docker exec -it ub20icommands iinit
then the rest of the iCommands are available
$ docker exec -it ub20icommands ils
/tempZone/home/rods:
Note... putting and getting files are done from 'within' the container... so if you need to move data, you'll probably want to use a volume mount or docker cp to share between host and container.
$ docker cp filetoput.txt ub20icommands:/
$ docker exec -it ub20icommands iput filetoput.txt foo
$ docker exec -it ub20icommands ils
/tempZone/home/rods:
foo
Terrell