This image is part of the resin.io base image series for IoT devices. The image is optimized for use with resin.io and resinOS, but can be used in any Docker environment running on the appropriate architecture.
What is resin.io?
Resin.io is the simplest way to build, deploy, and manage containers on a fleet of connected devices. Resin.io brings a modern developer workflow to the Internet of Things, enabling rapid innovation at every stage and scale of your project.
Supported tags and respective
What is Raspbian?
Raspbian is a free operating system based on Debian optimized for the Raspberry Pi hardware. An operating system is the set of basic programs and utilities that make your Raspberry Pi run. However, Raspbian provides more than a pure OS: it comes with over 35,000 packages, pre-compiled software bundled in a nice format for easy installation on your Raspberry Pi.
Supported Docker versions
This image is officially supported on Docker version 17.05.0-ce.
Support for older versions (down to 1.0) is provided on a best-effort basis.
If you have any problems with or questions about this image, please contact us through a GitHub issue.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
Documentation for this image is stored in the base images documentation. Check it out for list of all of our base images including many specialised ones for e.g. node, python, go, smaller images, etc.
Can't find /etc/network/interfaces file. Can anybody help on this.
Some links in the README listed above don't work, most important how to log an issue on GitHub.
When do you fix the Problem from @meneerchen? I have the same problem!
@meneerchen, please use this tag instead
jessie-20160831 we will have a fix for this soon
jessie-20170315 does not work. I have tried with this command:
docker run -ti resin/rpi-raspbian
but it is direct exited.
Having an issue with
apt-get update. produces the following error:
Get:1 http://archive.raspbian.org wheezy Release.gpg [473 B] Get:2 http://archive.raspbian.org wheezy Release [14.4 kB] Get:3 http://archive.raspbian.org wheezy/main armhf Packages [9591 kB] Get:4 http://archive.raspberrypi.org wheezy Release.gpg [473 B] Get:5 http://archive.raspberrypi.org wheezy Release [17.6 kB] Get:6 http://archive.raspberrypi.org wheezy/main armhf Packages [145 kB] Get:7 http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release.gpg [1342 B] Get:8 http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release [1342 B] Ign http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release E: GPG error: http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release: The following signatures were invalid: NODATA 1 NODATA 2
Set the base image
File Author / Maintainer
MAINTAINER ZhiFeng Li
Install oracle-java8-jdk curl
RUN apt-get update && apt-get install -y oracle-java8-jdk && apt-get install -y curl && apt-get install -y openssh-server && apt-get install -y wget
RUN cd /tmp && curl -L 'https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.11/bin/apache-tomcat-8.5.11.tar.gz' | tar -zx
RUN mv /tmp/apache-tomcat-8.5.11/ /opt/tomcat8/
RUN wget http://mirrors.jenkins.io/war-stable/latest/jenkins.war
RUN mv jenkins.war /opt/tomcat8/webapps/
#apt-get -y clean
ENV CATALINA_HOME /opt/tomcat8
ENV PATH $PATH:$CATALINA_HOME/bin
Copy start script
#COPY files/start-nginx.sh /opt/
ADD sh/tomcat8.sh /etc/init.d/tomcat8
RUN chmod 755 /etc/init.d/tomcat8
RUN update-rc.d tomcat8 defaults
Expose HTTP & HTTPS
EXPOSE 8080 443
Update (optional) & start nginx
#CMD ["bash", "/opt/tomcat8/bin/startup.sh"]
Define default command.
#ENTRYPOINT sh /opt/tomcat8/bin/startup.sh && tail -f /opt/tomcat8/logs/catalina.out
ENTRYPOINT sh /usr/bin/entry.sh
CMD ["/bin/bash", "service tomcat8 start"]
2017-01-25T03:14:15.624948412Z Command not found:
thks all ！！
tag jessie-20160831 works but tag latest still doesn't.
The issue with bash is resolved on the latest image
The bash still not work in the latest jessie. How can I fix this? :(