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

standard_init_linux.go:219: exec user process caused: exec format error #199

Open
G-R-A-F-F opened this issue Mar 15, 2021 · 1 comment
Open

Comments

@G-R-A-F-F
Copy link

Hi,

I am running a registry on raspberry Pi and trying to run this container on the same pi.
Keep getting the above-noted error.
Is there anything I configured wrong?

docker-compose:

version: '2'

services:
  docker-registry-manager:
    container_name: docker-registry-manager
    image: snagles/docker-registry-manager
    ports:
      - "5001:8080"
    volumes:
      - ./registries.yml:/app/registries.yml
      #- ./ssl.crt:/app/ssl.crt # https certfile location
      #- ./ssl.key:/app/ssl.key # https keyfile location

    environment:
      - MANAGER_PORT=8080
      - MANAGER_REGISTRIES=/app/registries.yml
      - MANAGER_LOG_LEVEL=warn
      - MANAGER_ENABLE_HTTPS=false
      #- MANAGER_KEY=/app/ssl.crt
      #- MANAGER_CERTIFICATE=/app/ssl.key

registry.xml

registries:
  exampleRegistry:
    displayname: registry:5000
    url: http://localhost
    port: 5000 # Example: 443, 8080, 5000
    #username: exampleUser
    #password: examplePassword
    #refresh-rate: "5m" # Example: 60s, 5m, 1h
    #skip-tls-validation: true # REQUIRED for self signed certificates
    #dockerhub-integration: true # Optional - compares to dockerhub to determine if image up to date

@shaworth
Copy link

@G-R-A-F-F The error indicates that the image isn't built to run on your CPU. At a minimum you will need modify the Dockerfile for your CPU architecture and rebuild the container image. Good luck.

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

2 participants