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

Docker container images #79

Open
karneaud opened this issue Apr 13, 2018 · 3 comments
Open

Docker container images #79

karneaud opened this issue Apr 13, 2018 · 3 comments

Comments

@karneaud
Copy link

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
Copy link
Owner

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

@milovanderlinden
Copy link

milovanderlinden commented Aug 19, 2018

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

@neta540
Copy link
Contributor

neta540 commented Aug 19, 2018

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.

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

4 participants