Skip to content
New issue

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

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

Already on GitHub? # to your account

Docker images not running on Apple M1 #2

Open
mark-sivill-kong opened this issue Aug 30, 2022 · 1 comment
Open

Docker images not running on Apple M1 #2

mark-sivill-kong opened this issue Aug 30, 2022 · 1 comment

Comments

@mark-sivill-kong
Copy link

Hi,

Would it be possible to also provide docker hub images for multiple os architectures including Apple M1 ( linux/arm64/v8 ) running docker.io/yesinteractive/dadjokes via docker command causes the program to exit straight away on Apple M1.

docker run -d \                       
  -p 8100:8100 \
  -p 8143:8143 \
  -e DADJOKES_NOECHO=FALSE \
  docker.io/yesinteractive/dadjokes

Building directly from source things run correctly using docker-compose up --build on

version: '3.9'

services:

  # doesn't run on Apple M1
  dadjokesimage:
    image: docker.io/yesinteractive/dadjokes
    environment:
      - DADJOKES_NOECHO=FALSE
    ports:
      - 7100:8100
      - 7143:8143

  # builds and runs OK on Apple M1
  dadjokesbuild:
    build: https://github.com/yesinteractive/dadjokes.git
    environment:
      - DADJOKES_NOECHO=FALSE
    ports:
      - 9100:8100
      - 9143:8143

Returns error AH00023: Couldn't create the mpm-accept mutex for dadjokesimage.

As a workaround building directly from git source works (dadjokesbuild) currently with the trade-off of additional build time.

Thanks

Mark

@aaronhmiller aaronhmiller mentioned this issue Dec 10, 2022
@benjacksondev
Copy link

Clone of the image working for M series chips can be found here: https://hub.docker.com/repository/docker/benjacksondev/dadjokes/general.

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

No branches or pull requests

2 participants