Coder Social home page Coder Social logo

Comments (4)

WardahJabeen avatar WardahJabeen commented on July 22, 2024 4

Thanks Cameron! Another solution that we recently figured out (for future reference) is to uncheck "use rosetta for x86/amd64 emulation on apple silicon" in docker settings under "General".

from cs350-docker.

camerondurham avatar camerondurham commented on July 22, 2024 1

Thanks for following up with the resolution, that's a good find and really helpful! It looks like I had that option disabled and didn't notice it.

I updated the troubleshooting section to include this case.

from cs350-docker.

camerondurham avatar camerondurham commented on July 22, 2024

Apologies for the lazy answer, but I agree that this looks like a bug in the latest Apple software update and/or the Apple owned Rosetta emulation layer.

Follow-up Questions:

  1. Can the person having these issues try stopping Docker Desktop and instead using colima as their container runtime? That should not require the Rosetta emulation.
  2. If possible, provide output sw_vers and docker version commands

Using the non-beta version of macOS Sonoma I am still able to run make qemu-nox and get a shell into a random CS350 homework xv6 build.

Example below of what's working for me:

$ sw_vers                                                 
ProductName:		macOS
ProductVersion:		14.2.1
BuildVersion:		23C71

$ docker version
Client:
 Version:           24.0.5
 API version:       1.43
 Go version:        go1.21.4
 Git commit:        v24.0.5
 Built:             Thu Jan  1 00:00:00 1970
 OS/Arch:           darwin/arm64
 Context:           colima

Server: Docker Engine - Community
 Engine:
  Version:          24.0.7
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.10
  Git commit:       311b9ff
  Built:            Thu Oct 26 09:08:29 2023
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.6.25
  GitCommit:        d8f198a4ed8892c764191ef7b3b06d8a2eeb5c7f
 runc:
  Version:          1.1.10
  GitCommit:        v1.1.10-0-g18a0cb0
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

from cs350-docker.

WardahJabeen avatar WardahJabeen commented on July 22, 2024

Good idea! Also, I found the solution online. 😅

from cs350-docker.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.