Public Repository

Last pushed: 2 years ago
Short Description
buildroot-based redis 3.0.1 image for armv7 raspberrypi 2
Full Description

The docker image has a virtual size of ~5.7MB and was built using Docker version 1.7.1, build 786b29d under ArchLinux on an armv7 rpi2 plug. There is no linux package manager included with this image.

Docker is an emerging antidote for integration and deployment of commercial and industrial apps I'm interested in building and supporting. I run my rpi2 devices using ArchLinux. ArchLinux from archlinuxarm.org usually has the most up-to-date packages out there, including docker 1.7.1 as 2015-08-15. And yes, Docker runs really well for me as a 32-bit application.

This image was prepared using buildroot2 from 2015-08-15 running on an x86_64 host. The kernel is customized to remove unneeded modules. Otherwise, it was cross-compiled using buildroot defaults.

$ docker run --rm -it --name busy malware/rpi2-redis-3.0.1:v2
1:M 17 Aug 03:21:13.170 # Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with 'noeviction' policy now.
.
.-``__ ''-.
.-` . `. ''-. Redis 3.0.3 (00000000/0) 32 bit
.-`` .-.\/
., ''-.
( ' , .-|, ) Running in standalone mode
|-._-...-__...-.``-._|' .-'| Port: 6379
| `-.
._ / _.-' | PID: 1-. `-. -./ _.-' _.-' |-.`-. -.__.-' _.-'_.-'| |-.`-. .-'.-' | http://redis.io
-._-.`-.__.-'.-' .-'
|`-.
-._-..-' .-'.-'|
| -._-. .-'.-' |
`-.
-._-.
.-'.-' .-'
-._-..-' .-'
`-.
_.-'
`-.
.-'

1:M 17 Aug 03:21:13.174 # Server started, Redis version 3.0.3
1:M 17 Aug 03:21:13.174 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
1:M 17 Aug 03:21:13.175 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 17 Aug 03:21:13.175 * The server is now ready to accept connections on port 6379

$ docker inspect malware/rpi2-redis-3.0.1:v2
[
{
"Id": "d7a6f2bfc5a2389e5b9ac00f62c8435046a7a979bc4e4d2312dc525b070da17c",
"Parent": "7b4d9592b634fede2f5457ebda9d3d6b58601c63eb2dfc92baa8181eca8ca9d3",
"Comment": "",
"Created": "2015-08-17T02:05:47.693166162Z",
"Container": "7b8374260f28cae6a76d88a6106fd896ade9a98a5b45e5c6ac09c5310fd2b8e8",
"ContainerConfig": {
"Hostname": "684f6649592a",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"PortSpecs": null,
"ExposedPorts": {
"6379/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": null,
"Cmd": [
"/bin/sh",
"-c",
"#(nop) CMD [\"redis-server\" \"/etc/redis.conf\"]"
],
"Image": "7b4d9592b634fede2f5457ebda9d3d6b58601c63eb2dfc92baa8181eca8ca9d3",
"Volumes": null,
"VolumeDriver": "",
"WorkingDir": "",
"Entrypoint": null,
"NetworkDisabled": false,
"MacAddress": "",
"OnBuild": null,
"Labels": {}
},
"DockerVersion": "1.7.1",
"Author": "Peter Friedland \u003cpeter@mansfield-analytics.com\u003e",
"Config": {
"Hostname": "684f6649592a",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"PortSpecs": null,
"ExposedPorts": {
"6379/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": null,
"Cmd": [
"redis-server",
"/etc/redis.conf"
],
"Image": "7b4d9592b634fede2f5457ebda9d3d6b58601c63eb2dfc92baa8181eca8ca9d3",
"Volumes": null,
"VolumeDriver": "",
"WorkingDir": "",
"Entrypoint": null,
"NetworkDisabled": false,
"MacAddress": "",
"OnBuild": null,
"Labels": {}
},
"Architecture": "arm",
"Os": "linux",
"Size": 0,
"VirtualSize": 5680036
}
]

Docker Pull Command
Owner
malware