Running a 24GB 4 OCPU Always Free Oracle VM Instance, the catch is that it uses Arm 64bit processors and iv already ran into issues with standing up docker containers from some GitHub repos, due to incompatibility.
I am hoping there is a easyish way to emulate x86 so I can work with what I need to as seamlessly as possible. It’s quite a powerful server for FREE, if I can get the emulation working I don’t really care about the extra overheads.
I’d start with trying to find aarch64 container images. Search “image name aarch64”. If the source is available you could also build the image yourself, but I’ve never found software I wanted to use badly enough to do that. If you’re lucky someone already did it for you, but these images often aren’t kept up to date. Do the community a favor and drop the owner an issue asking for aarch64 builds if nothing else.
Will do. I’m still learning this so may be the best way for now
You probably want to use qemu for that. You might be able to find some tutorials on setting up a chroot in the context of people doing the opposite for running or compiling stuff for their arm based pi or similar systems on their PCs.
Couldn’t find it in my package manager, also running Oracle Server OS 8.8 which doesn’t help, it’s a fork of RedHat, so meant to be the “new “ Centos. I.E a Redhat clone. But I keep running into odd issues with it.
Worth to keep trying at it though.
I may have to download with a wget instead, I’ll see what I can find.
Maybe just run one qemu kvm machine and use that for everything? pretend the underlying aarch64 isn’t there at all.
It may be doable or even solvable if you are compiling things from source. But with the Docker in the middle, I doubt if emulation is worth the effort. If you insist or you just wanna try, I think you can give QEMU user-mode emulation a look.
Check out box86
Your best bet would be to see if there’s a Dockerfile in the repo and build the image yourself. But it won’t necessarily work, as all the dependencies will also need to have ARM builds available. I couldn’t get a ClamAV container built for ARM, for example.
There are two options, being FEX and box86/64. Not sure on the differences between them, or how well they’ll work for server use cases (box86 especially seems gaming focused), but they exist.
The way to do it as seamlessly as possible is to not use docker and instead use a distro that has first-class aarch64 support. I like my free Oracle VM and haven’t had any issues with it whatsoever (besides having to deal with the atrocious web control panel when first setting it up).