docker镜像 docker镜像类似于虚拟机的iso文件,用于启动容器。 查找镜像 镜像存在于docker 仓库中,每个镜像可以有多个tag标签代表了不同版本或者特殊标记。默认查找docker hub公开仓库。 docker hub官网地址:https://hub-stage.docker.com/ # 使用docker search镜像名称可以查找镜像 [root@localhost keli]# docker search...
本篇博客就展示带有图形化界面的 Docker 私有镜像仓库搭建过程。 DockerRegistry 的官网地址为:https://hub-stage.docker.com/_/registry 一、配置 Docker 信任地址 本篇博客基于之前已经安装好 Docker 的虚拟机进行演示,虚拟机的 ip 地址是:192.168.216.128 使用命令vim /etc/docker/daemon.json编辑 docker 服务配置...
Welcome to the world's largest container registry built for developers and open source contributors to find, use, and share their container images. Build, push and pull.
downloads environment: - HOME=/root - LSIO_FIRST_PARTY=true - PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin - S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 - S6_STAGE2_HOOK=/docker-mods - S6_VERBOSITY=1 - TERM=xterm - VIRTUAL_ENV=/lsiopy - XDG_CONFI...
pipeline{agent{label'worker1'}options{timestamps()timeout(time:30,unit:'MINUTES')buildDiscarder(logRotator(numToKeepStr:'10'))}environment{DOCKER_REGISTRY_PATH="https://registry.example.com"DOCKER_TAG="v1"}stages{stage('build-and-push'){steps{script{docker.withRegistry(DOCKER_REGISTRY_PATH,ec...
stage('update docker to latest'){ steps { sh "docker version" sh "docker info" sh "curl -fsSL https://mirrors.cloud.tencent.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -" sh "sudo add-apt-repository \"deb [arch=amd64] https://mirrors.cloud.tencent.com/docker-ce/linux/ubun...
Docker Hub Docker Scout Docker Extensions Deprecated products and features Platform Administration Billing Docker accounts Security Subscription Home/Manuals/Docker Build/Building/Best practices Use multi-stage builds Multi-stage builds let you reduce the size of your final image, by creating a cleaner se...
build_image:stage:buildscript:-dockerbuild-tmyapp:$CI_COMMIT_SHA.-dockerpushmyapp:$CI_COMMIT_SHA Docker常见问题解答 Q: 如何删除所有停止的容器? A: 使用docker container prune命令。 Q: 如何删除悬空(dangling)镜像? A: 使用docker image prune命令。
Docker Hub Docker Scout Home/Manuals/Docker Build/Building/Best practices Use multi-stage builds Multi-stage builds let you reduce the size of your final image, by creating a cleaner separation between the building of your image and the final output. Split your Dockerfile instructions into distinc...