docker

作者: david9 | 来源:发表于2023-02-20 11:07 被阅读0次

    docker是什么

    Docker is a platform for developers and sysadmins to develop, deploy, run applications with containers.
    A container runs natively on Linux and shares the kernel of the host machine with other containers. It runs a discrete process, taking no more memory than any other executable, making it lightweight.
    By contrast, a virtual machine (VM) runs a full-blown “guest” operating system with virtual access to host resources through a hypervisor. In general, VMs provide an environment with more resources than most applications need.

    docker.png
    虚拟机.png

    docker安装

    请自行安装

    docker安装

    请参考https://docs.docker.com/install自行安装

    添加国内镜像仓库

    docker会从镜像仓库获取镜像文件,切换成国内镜像仓库会加速。
    编辑 /etc/docker/daemon.json文件
    在其中添加
    {
    "registry-mirrors": ["https://registry.docker-cn.com"]
    }

    docker安装

    请自行安装

    相关文章

      网友评论

          本文标题:docker

          本文链接:https://www.haomeiwen.com/subject/kwxbaftx.html