美文网首页
kali install docker

kali install docker

作者: StevenZack | 来源:发表于2017-10-01 17:12 被阅读0次

    Preparation

    Add Docker PGP key:

    curl -fsSLhttps://download.docker.com/linux/debian/gpg | sudo apt-key add -

    Configure Docker APT repository:

    echo 'debhttps://download.docker.com/linux/debianstretch stable' > /etc/apt/sources.list.d/docker.list

    Update APT:

    apt-get update

    Install Docker

    If you had older versions of Docker installed, uninstall them:

    apt-get remove docker docker-engine docker.io

    Install Docker:

    apt-get install docker-ce

    Test:

    docker run hello-world

    After

    installation, Docker service will be started, but not enabled (i.e. it

    will not be started automatically after reboot). To start it:

    systemctl start docker

    To start Docker automatically upon reboot (do it on your own risk!):

    systemctl enable docker

    相关文章

      网友评论

          本文标题:kali install docker

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