image-builder-rpi64 icon indicating copy to clipboard operation
image-builder-rpi64 copied to clipboard

Docker container images

Open karneaud opened this issue 6 years ago • 3 comments

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?

karneaud avatar Apr 13 '18 17:04 karneaud

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

DieterReuter avatar Apr 13 '18 19:04 DieterReuter

64bit containers will not run on my RPI.

System

  • Model: RPI 3B+
  • Image: hypriotos-rpi64-v20180429-184538.img.zip
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

milovanderlinden avatar Aug 19 '18 15:08 milovanderlinden

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.

neta540 avatar Aug 19 '18 15:08 neta540