instapy-docker icon indicating copy to clipboard operation
instapy-docker copied to clipboard

cannot run on raspberry pi 4

Open cigogma opened this issue 4 years ago • 5 comments

When I'm hitting docker run instapy/instapy I get the following message.

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
standard_init_linux.go:219: exec user process caused: exec format error

is there anything to do about it?

cigogma avatar Dec 17 '20 21:12 cigogma

The error comes from Docker layer, not InstaPy. My recommendation is to check if your are using the latest Docker Release, there are some issues reported with Dec updates.

elulcao avatar Dec 18 '20 15:12 elulcao

I too receive this message when I use Kubernetes (k3s + containerd), I trying use image "instapy/instapy:latest". I configured paths InstaPy and file docker_quickstart.py in yml file.

my yml file:

apiVersion: v1
kind: Pod
metadata:
  name: instapy 
  namespace: default
spec:
  restartPolicy: Never
  containers:
  - image: instapy/instapy:latest
    volumeMounts:
      - name: folder
        mountPath: /code/InstaPy
      - name: file
        mountPath: /code/docker_quickstart.py
    imagePullPolicy: IfNotPresent
    name: instapy
  volumes:
    - name: folder
      hostPath:
        path: /mnt/instapy/InstaPy
    - name: file
      hostPath:
        path: /mnt/instapy/docker_quickstart.py

pviana87 avatar Jan 03 '21 23:01 pviana87

did you check the latest update from docker?

elulcao avatar Jan 04 '21 00:01 elulcao

did you check the latest update from docker?

Yes! I use containerd version v1.19.0-k3s1

pviana87 avatar Jan 04 '21 00:01 pviana87

The message comes from Docker layer, this is the issue Iv been monitoring, and seems to be the same like the problem you are facing.

elulcao avatar Jan 04 '21 01:01 elulcao