DieterReuter / image-builder-rpi64

Build SD card image for Raspberry Pi 3 64bit
MIT License
156 stars 38 forks source link

Docker container images #79

Open karneaud opened 6 years ago

karneaud commented 6 years ago

Hello,

I successfully installed and run your hypriotOS version on my raspberry pi 3 B and I was wondering....do I need to use specific arm64 based images?

DieterReuter commented 6 years ago

You can run arm64 and arm32 Docker images on the 64bit RPi 3.

milovanderlinden commented 5 years ago

64bit containers will not run on my RPI.

System

docker run --name dvwa -d -p 80:80 -p 3306:3306 citizenstig/dvwa:latest

Will result in a container that is created, runs and then exits.

logs

docker logs dvwa

standard_init_linux.go:190: exec user process caused "exec format error"

info

docker info

Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 1
Server Version: 18.04.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 773c489c9c1b21a6d78b5c538cd395416ec50f88
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.14.37-hypriotos-v8
Operating System: Debian GNU/Linux 9 (stretch)
OSType: linux
Architecture: aarch64
CPUs: 4
Total Memory: 969MiB
Name: black-pearl
ID: QYQW:HSL3:YDDL:M3ZV:JGN5:LJGI:EHGH:GHGR:OHRJ:KNBT:PSND:L4AK
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory limit support
WARNING: No oom kill disable support
neta540 commented 5 years ago

On a raspberry pi you can run ARM 32 or ARM 64 bit compatible images, not x86_64 images. ARM 64 bit is often notated as aarch64.