Docker
hushui
Coding Since 1998
展开
-
docker-compose start ==>pull and start multiply container from docker-compose.yml(edgex-objectbox)
### EnvAdministrator@Win10 MINGW64 /c/work/T3/edgex-x86-4bit/windows-docker-compose-lake-test$ docker versionClient:Version: 18.03.0-ceAPI version: 1.37Go version: go1.9.4Git ...原创 2020-02-18 11:59:45 · 551 阅读 · 0 评论 -
docker-compose start/stop container/rm/prune but keep docker image (Example :edgex-objectbox)
Administrator@Win10 MINGW64 /c/work/$ docker psCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS ...原创 2020-02-18 09:46:36 · 249 阅读 · 0 评论 -
Python/pip/docker-compose install on Debian8/ARMhf/32bit (docker version 18.06.3-ce)
Python3/pip/docker-composeapt installpython-pipyum-y install python-pipPyPI使用国内源通过几次 pip 的使用,对于默认的 pip 源的速度实在无法忍受,从国外下载很慢,于是便搜集了一些国内的pip源,如下:阿里云 http://mirrors.aliyun.com/pypi/simple/...原创 2020-02-14 20:01:39 · 502 阅读 · 0 评论 -
docker import tar.gz/image run container on linux4.9/ARM A7
root@Debian:~# cat /proc/versionLinux 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 2020root@Debian:~# uname -aLinu...原创 2020-02-12 14:35:40 · 538 阅读 · 0 评论 -
docker login file ~/.docker/config.json
1. Windows $ uname -aMINGW64_NT-10.0 Win10 2.11.2(0.329/5/3) 2018-11-10 14:38 x86_64 MsysAdministrator@Win10 MINGW64 ~$ docker versionClient:Version: 18.03.0-ceAPI version: 1.37...原创 2020-01-28 19:57:03 · 10049 阅读 · 0 评论 -
busybox/arm/docker image run on X86 through qemu-static/user mode
lake@localhost:~$ ~/usr/bin/qemu-arm -versionqemu-arm version 4.2.0Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developerslake@localhost:~$lake@localhost:~$ uname -aLinux ShSwDe...原创 2020-01-09 17:14:25 · 293 阅读 · 0 评论 -
Manualy build arm elf docker image from scratch, run on X86 through qemu-arm-static/user mode
1. Build qemu static link user mode Refer tohttps://blog.csdn.net/hushui/article/details/103806109lake@localhost:~/local/example-code/test-linux-docker-lake/myhello-arm$ file qemu-aarch64qemu-...原创 2020-01-09 15:09:35 · 248 阅读 · 0 评论 -
Linux/X86/Docker image-save-load-example-lake
Example image hello: https://blog.csdn.net/hushui/article/details/103459550## image savelake@localhost:~/local/edgex/docker-edgex$ sudo docker save -o ~/tmp/hello.tar lakehudocker/h...原创 2019-12-10 14:14:48 · 239 阅读 · 0 评论 -
docker linux/X86 hello Example, build "FROM scratch "
lake@localhost:~/local/test-linux-docker-lake/myhello/build$ gcc -static hello.c -o helloInstead of static link, a raw system call hello world print version is here:https://raw.githubusercontent....原创 2019-12-09 15:58:05 · 223 阅读 · 0 评论 -
Docker(Linux/Windows) VS VirtualMachine
原创 2019-12-09 14:45:20 · 208 阅读 · 0 评论 -
Docker Ubuntu16/Linux version/Get inside container
Refer to https://tinylab.org/docker-qemu-linux-lab/jhula@ShSwDev2:~/local/edgex/test-linux-docker-lake$ ps -aux |grep jhula |grep dockerjhula 13309 0.0 0.0 9992 3016 pts/15 S+ 19...原创 2019-12-09 14:32:46 · 169 阅读 · 0 评论 -
Ubuntu16/docker list current image/containers
lake@localhost:~$ docker versionClient:Version: 18.06.1-ceAPI version: 1.38Go version: go1.10.3Git commit: e68fc7aBuilt: Tue Aug 21 17:24:56 201...原创 2019-08-20 13:15:02 · 688 阅读 · 0 评论 -
Docker Windows Boot2Docker/(Docker Virtual Machine for Windows)SSH login and run basic DockerImage
Refer tohttps://blog.csdn.net/hushui/article/details/103457751For Windows VS Linux Docker environmentDocker Windows Boot2Docker/(Docker Virtual Machine for Windows)SSH login and run basic Do...原创 2019-08-13 20:56:47 · 737 阅读 · 0 评论