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.

  • macgregor@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 year ago

    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.

    • SensOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Will do. I’m still learning this so may be the best way for now

  • taladar@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    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.

    • SensOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      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.

  • knowncarbage@lemmy.fmhy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Maybe just run one qemu kvm machine and use that for everything? pretend the underlying aarch64 isn’t there at all.

  • 2xsaiko@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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).

  • oranki@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.

  • ShittyKopper [they/them]@lemmy.w.on-t.work
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.