Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose up -d fails in M1 Mac #17

Open
acyment opened this issue Apr 19, 2023 · 0 comments
Open

docker-compose up -d fails in M1 Mac #17

acyment opened this issue Apr 19, 2023 · 0 comments

Comments

@acyment
Copy link

acyment commented Apr 19, 2023

I know this has only been tried in Linux (Intel processor I assume). The apache container fails like this:

2023-04-19 15:37:33 runtime stack:
2023-04-19 15:37:33 runtime.throw(0x6430dc, 0x9)
2023-04-19 15:37:33     /usr/local/Cellar/go/1.8.1/libexec/src/runtime/panic.go:596 +0x95
2023-04-19 15:37:33 runtime.newosproc(0xc420024000, 0xc420034000)
2023-04-19 15:37:33     /usr/local/Cellar/go/1.8.1/libexec/src/runtime/os_linux.go:163 +0x18c
2023-04-19 15:37:33 runtime.newm(0x650dd0, 0x0)
2023-04-19 15:37:33     /usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:1628 +0x137
2023-04-19 15:37:33 runtime.main.func1()
2023-04-19 15:37:33     /usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:126 +0x36
2023-04-19 15:37:33 runtime.systemstack(0x75bb00)
2023-04-19 15:37:33     /usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:327 +0x79
2023-04-19 15:37:33 runtime.mstart()
2023-04-19 15:37:33     /usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:1132
2023-04-19 15:37:33 
2023-04-19 15:37:33 goroutine 1 [running]:
2023-04-19 15:37:33 runtime.systemstack_switch()
2023-04-19 15:37:33     /usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:281 fp=0xc420020788 sp=0xc420020780
2023-04-19 15:37:33 runtime.main()
2023-04-19 15:37:33     /usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:127 +0x6c fp=0xc4200207e0 sp=0xc420020788
2023-04-19 15:37:33 runtime.goexit()
2023-04-19 15:37:33     /usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc4200207e8 sp=0xc4200207e0

It seems that the image being used is only compiled for Intel.

Tks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant