Zum Inhalt springen

Docker Desktop on Apple Silicon

Sometimes i use Docker Desktop on my Mac with Apple Silicon to try some stuff. And nearly every time I forget that Docker Desktop tries to pull a image with „linux/arm64/v8“ which not every image is built for.

So one has to go to the terminal and issue a command like this:

% docker pull networktocode/nautobot-lab:1.6.2 --platform linux/amd64

In this example I pull a nautobot-lab environment and what does the trick here is the „–platform linux/amd64“ which tells the process to pull an image for an amd64 platform. This image is then run on Rossetta2.

Dont’t forget to checkout Nautobot if you’re somewhat in into networking :-)

Nautobot is a great source for networking data and provides this data via API or Modules/Plugins to be used with Ansible, Python Scripts, Cisco Genie/pyATS and more.

Nautobot can be found at https://networktocode.com/nautobot/

Schlagwörter:

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

This site uses Akismet to reduce spam. Learn how your comment data is processed.