login|Register
Forum > DietPi
Post|
看22162|回26|Favorite
sypperpit 看全部
2018-8-26 01:12:32
i run docker on Orange Pi zero H2+
1) update you apt

code:

  1. sudo apt update && sudo apt upgrade

2) https://howchoo.com/g/nmrlzmq1ym ... n-your-raspberry-pi

code:

  1. curl -sSL https://get.docker.com | sh
sypperpit 看全部
2018-8-26 01:17:16
Edited by sypperpit at 2018-8-26 16:51

code:

  1. date



DietPi     | 20:10 | Sat 25/08/18
───────────────────────────────────────
v6.14      | OrangePi Zero (armv7l)
───────────────────────────────────────

if you have error https update-ca-certificates, you date not actual
"Err:7 https://deb.debian.org/debian-security stretch/updates Release"


Check you date!
sypperpit 看全部
2018-8-26 01:18:53

code:

  1. sudo cpu

[  OK  ] Root access verified.

─────────────────────────────────────────────────────
DietPi CPU Info
Use dietpi-config to change CPU / performance options
─────────────────────────────────────────────────────
Architecture |     armv7l
Temp         |     26'c : 78'f  | Who put me in the freezer!
Governor     |     ondemand
Throttle up  |     85% CPU usage

                 Current Freq    Min Freq   Max Freq
CPU0         |      1200 MHz      240 MHz    1200 MHz
CPU1         |      1200 MHz      240 MHz    1200 MHz
CPU2         |      1200 MHz      240 MHz    1200 MHz
CPU3         |      1200 MHz      240 MHz    1200 MHz

[ INFO ] DietPi-CPU_info | CPU current frequency, may be affected by this script, due to the processing required to run it.

sypperpit 看全部
2018-8-26 01:37:24

code:

  1. docker run hello-world

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (arm32v7)
3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
sypperpit 看全部
2018-8-26 01:40:03

code:

  1. run -it ubuntu bash

Unable to find image 'ubuntu:latest' locally
latest: Pulling from library/ubuntu
Status: Downloaded newer image for ubuntu:latest
root@<you_id_number>:/#
1234.. 6NextPage

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC