Kali安装docker环境
Kali安装docker环境1、安装https协议以及CA证书apt-get updateapt-get install -y apt-transport-https ca-certificatesapt-get install dirmngr2、添加GPG密钥curl -fsSL https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debia
·
Kali安装docker环境
1、安装https协议以及CA证书、dirmngr
apt-get update
apt-get install -y apt-transport-https ca-certificates
apt-get install dirmngr
2、添加GPG密钥
curl -fsSL https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian/gpg | sudo apt-key add -
3、添加更新源
echo 'deb https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian/ buster stable' | sudo tee /etc/apt/sources.list.d/docker.list
4、系统更新以及安装docker
apt-get update
apt-get install docker-ce
5、启动docker服务器
systemctl start docker.service
6、安装compose
apt install docker-compose
7、docker安装测试(hello-world)
PS:
docker version 查看docker的版本信息
docker images 查看拥有的images
docker ps 查看docker container
更多推荐
已为社区贡献1条内容
所有评论(0)