일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- RUBY
- Android
- Raspberry Pi
- nano
- parser
- 라즈베리파이
- uno
- orange pi
- odroid-x2
- IOT
- BLE
- Server
- ubuntu
- Nginx
- python3
- rails
- ruby on rails
- 개발환경
- 아두이노
- Python
- STM32F4
- java
- flask
- mqtt
- JSON
- 오렌지파이
- Raspberry Pi 3
- dht11
- Arduino
- Beacon
- Today
- Total
[熱情]
Docker raspberry pi 본문
https://youtu.be/HsrwrBjkdrU blog.hypriot.com
1. Raspbian jessie lite install
2. updata OS
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo shutdown -new
3. install docker arm architecture of the raspberry
$ curl -sSL https://get.docket.com | sh
4. docker demons running
$ sodu docker info
$ sudo docker run hello-world
$ sudo docker info
$ sudo docker run hello-world
; error~~~ T_T
- container4armhf/armhf-alpine
- https://hub.docker.com/r/container4armhf/armhf-alpine/
$ mkdir build
$ cd build
$ vi Dockerfile
FROM resin/rpi-raspbian:jessie # install and upate RUN apt-gert update && apt-get install -y \ oracle-java8-jdk && apt-get clean CMD ["java"] |
$ sudo docker build -t ulrix/rpi-java8 .
$ sudo doker image
$ sudo docker run -it ulrix/rpi-java8
$ sudo docker run -it ulrix/rpi-java8 -version