Docker Desktop for Apple Silicon is here, but probe a little deeper and you'll find Rosetta 2 staring back

Prepare yourself for an onslaught of 'you're holding the container wrong'


Docker Desktop for Apple Silicon has been released, although it's not quite the seamless conversion some may expect.

Declaring that getting Docker Desktop working on Apple's M1 chip as "by far our most upvoted roadmap item ever," the company is naturally chuffed that container fans selecting Apple's latest hardware can now also crank out code using its tooling.

Rosetta 2, aimed at getting x64 apps up and running on Apple Silicon, only goes so far and to get the virtual machine that lurks beneath the hood of Docker Desktop, the company had to make the jump to Apple's new hypervisor framework as well as deal with all the associated plumbing.

A developer preview turned up in December, although Docker noted "it is not release quality yet, or even beta quality." Four months down the line (and 45,000 downloads of the various preview builds) and here we are.

Sadly, Docker has not managed a full jump into the M1 world. "Some binaries," it said, "are still Darwin/AMD64," necessitating Apple's Rosetta 2. That compatibility problem continues as the company noted that not all images (for example, mysql) are available for Arm64.

The workaround? For the mysql unavailability issue, maybe use mariadb?

Uh huh.

There are other problems. "Attempts to run Intel-based containers on Apple Silicon machines can crash as QEMU sometimes fails to run the container," according to Docker, and other QEMU-related issues include Filesystem change notification APIs.

"Therefore, we recommend that you run ARM64 containers on Apple Silicon machines," Docker said, adding that it expected fixes in future releases and the issue to become less common over time "as more and more images are rebuilt supporting multiple architectures."

Apple Macs running Apple Silicon are a recent event and Docker's efforts to get its product into the hands of developers, while laudable, also demonstrates the platform still has a way to go before achieving the dampest of fanboi developer dreams. ®

Similar topics


Other stories you might like

  • Experts: AI should be recognized as inventors in patent law
    Plus: Police release deepfake of murdered teen in cold case, and more

    In-brief Governments around the world should pass intellectual property laws that grant rights to AI systems, two academics at the University of New South Wales in Australia argued.

    Alexandra George, and Toby Walsh, professors of law and AI, respectively, believe failing to recognize machines as inventors could have long-lasting impacts on economies and societies. 

    "If courts and governments decide that AI-made inventions cannot be patented, the implications could be huge," they wrote in a comment article published in Nature. "Funders and businesses would be less incentivized to pursue useful research using AI inventors when a return on their investment could be limited. Society could miss out on the development of worthwhile and life-saving inventions."

    Continue reading
  • Declassified and released: More secret files on US govt's emergency doomsday powers
    Nuke incoming? Quick break out the plans for rationing, censorship, property seizures, and more

    More papers describing the orders and messages the US President can issue in the event of apocalyptic crises, such as a devastating nuclear attack, have been declassified and released for all to see.

    These government files are part of a larger collection of records that discuss the nature, reach, and use of secret Presidential Emergency Action Documents: these are executive orders, announcements, and statements to Congress that are all ready to sign and send out as soon as a doomsday scenario occurs. PEADs are supposed to give America's commander-in-chief immediate extraordinary powers to overcome extraordinary events.

    PEADs have never been declassified or revealed before. They remain hush-hush, and their exact details are not publicly known.

    Continue reading
  • Stolen university credentials up for sale by Russian crooks, FBI warns
    Forget dark-web souks, thousands of these are already being traded on public bazaars

    Russian crooks are selling network credentials and virtual private network access for a "multitude" of US universities and colleges on criminal marketplaces, according to the FBI.

    According to a warning issued on Thursday, these stolen credentials sell for thousands of dollars on both dark web and public internet forums, and could lead to subsequent cyberattacks against individual employees or the schools themselves.

    "The exposure of usernames and passwords can lead to brute force credential stuffing computer network attacks, whereby attackers attempt logins across various internet sites or exploit them for subsequent cyber attacks as criminal actors take advantage of users recycling the same credentials across multiple accounts, internet sites, and services," the Feds' alert [PDF] said.

    Continue reading

Biting the hand that feeds IT © 1998–2022