Supper Thomas
Supper Thomas
docker 如何push到docker hub ``` docker commit -m "add code" eb8bced32f05 new-repo:tagname docker tag local-image:tagname new-repo:tagname docker push new-repo:tagname ```
四、清理镜像 我们在使用 Docker 一段时间后,系统一般都会残存一些临时的、没有被使用的镜像文件,可以通过以下命令进行清理: `docker images prune 它支持的子命令有: -a, --all: 删除所有没有用的镜像,而不仅仅是临时文件; -f, --force:强制删除镜像文件,无需弹出提示确认;
``` # # NuttX development environment # FROM ubuntu:xenial MAINTAINER David Sidrane ENV DEBIAN_FRONTEND noninteractive RUN dpkg --add-architecture i386 \ && apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get -y --quiet --no-install-recommends...
官方docker教程:https://training.play-with-docker.com/
目前掌握dockerfile。https://github.com/supperthomas/Dockerfiles
docker 从入门到精通 https://vuepress.mirror.docker-practice.com/
数据卷使用: docker run -it -v 宿主机绝对路径目录: /容器内目录 镜像名
docker run -it -w /root/rtthread -v /f/04_git_repo/GITEE/test/rt-thread_github:/root/rtthread lt6210925/rtthread
docker跑起来还是挺耗资源的
clangd 如何关闭头文件自动添加 ` --header-insertion=never` 