docker import tar.gz/image run container on linux4.9/ARM A7

36 篇文章 0 订阅
13 篇文章 0 订阅

root@Debian:~# cat /proc/version
Linux version 4.9.118 (lake@lake-Latitude-5491) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #8 SMP Mon Jan 27 17:28:37 CST 2020
root@Debian:~# uname -a
Linux Debian 4.9.118 #8 SMP Mon Jan 27 17:28:37 CST 2020 armv7l GNU/Linux
root@Debian:~#
 

root@Debian:~/edgex-armhf# docker  version
Client:
 Version:           18.06.3-ce
 API version:       1.38
 Go version:        go1.10.3
 Git commit:        d7080c1
 Built:             Wed Feb 20 02:48:01 2019
 OS/Arch:           linux/arm
 Experimental:      false

Server:
 Engine:
  Version:          18.06.3-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.3
  Git commit:       d7080c1
  Built:            Wed Feb 20 02:43:39 2019
  OS/Arch:          linux/arm
  Experimental:     false

 

root@Debian:~/edgex-armhf# docker
docker                  docker-containerd-shim  docker-runc
docker-containerd       docker-init             dockerd
docker-containerd-ctr   docker-proxy
 


@Debian:~/edgex-armhf# docker  image  load -i   alpine_multiarch-armhf.tar.gz
Loaded image: alpine:multiarch-armhf 

Debian:~/edgex-armhf# docker image load -i   golang_1.12-alpine-armhf.tar.gz


818a2b1bd77c: Loading layer  2.315MB/2.315MB
1f48f80d7ef2: Loading layer  235.8MB/235.8MB
65cbaf28d5e1: Loading layer   9.71MB/9.71MB
09627d36b0c5: Loading layer   2.56kB/2.56kB
c83306c90af3: Loading layer  320.3MB/320.3MB
984529b8876e: Loading layer  2.048kB/2.048kB
c862ed242065: Loading layer   2.56kB/2.56kB

 

root@Debian:~# docker image   ls
REPOSITORY                                                TAG                 IMAGE ID            CREATED             SIZE
 alpine                                                    multiarch-armhf     c4db52f425f3        3 days ago          18.4MB
golang                                                    1.12-alpine-armhf   7045fea7c0d2        3 days ago          473MB
hello-world                                               latest              851163c78e4a        5 weeks ago         4.85kB
root@Debian:~#

###########  Run image docker  
root@Debian:~# docker run --rm -it alpine:multiarch-armhf /bin/sh
/ # cat /etc/issue
Welcome to Alpine Linux 3.12_alpha20200122 (edge)
Kernel \r on an \m (\l)

/ #

root@Debian:~# docker run --rm -it golang:1.12-alpine-armhf go version
go version go1.12.16 linux/arm
root@Debian:~#

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值