instapy-docker
instapy-docker copied to clipboard
cannot run on raspberry pi 4
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?
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.
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
did you check the latest update from docker?
did you check the latest update from docker?
Yes! I use containerd version v1.19.0-k3s1
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.