Category:Docker

From ElectroDragon Wiki
Revision as of 00:53, 8 June 2021 by Chao (talk | contribs) (→‎Docker clean)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Repository

Run a Ubuntu OS in docker

  • install docker pull ubuntu
  • enter into system docker run -ti ubuntu bash

Alpine

Ubuntu

Repository: SDK

Licheee Pi

  • docker search licheepi #搜索镜像
  • docker pull zepan/licheepi #下载镜像
  • docker run zepan/licheepi apt-get install -y xxx #在镜像中执行命令,安装某软件
  • docker commit -m="install something" -a="zepan" container_id zepan/licheepi
  • docker login
  • docker push zepan/licheepi

Document

Other references

docker下各文件默认存放在/var/lib/docker下

du -h --max-depth=1 /var/lib/docker                #查看docker目录大小

Subcategories

This category has only the following subcategory.

Pages in category "Docker"

The following 6 pages are in this category, out of 6 total.