Solution from discord - https://discord.com/channels/484437221055922177/583400552487059546/746746082498969681
sudo apt update && sudo apt install docker.io -y
Then run this command
docker run --interactive --rm --volume $(pwd)/keys:/keys codaprotocol/coda-genkey:latest -privkey-path /keys/mywallet