Kali安装docker

apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D

echo 'deb https://apt.dockerproject.org/repo debian-stretch main' > /etc/apt/sources.list.d/docker.list

apt-get install apt-transport-https ca-certificates

apt-get update &&  apt-get install docker-engine

systemctl enable docker

systemctl start docker

ok

安装后即可运行docker

docker

由于国内网络问题,建议使用加速器加快镜像的下载

vi  /etc/docker/daemon.json

{

"registry-mirrors":["https://registry.docker-cn.com"]

}

转置 https://www.jianshu.com/p/f386ee4c6203

posted @ 2020-01-10 09:56  Awakenedy  阅读(68)  评论(0编辑  收藏  举报