docker
Posted kurds
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker相关的知识,希望对你有一定的参考价值。
1. yum install docker yum-utils docker-engine device-mapper-persistent-data lvm2
2. service docker start
3. docker pull kalilinux/kali-linux-docker
4. docker images
5. docker run -i -t 75f83054e2ad /bin/bash
6. apt-get update && apt-get upgrade
7. apt-get install kali-linux-all
[[email protected] ~]$ docker ps
[[email protected] ~]$ docker commit 96621f37028c 0ef2e08ed3fa
[[email protected] ~]$ docker images
#中科大
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
#阿里云
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
#清华大学
deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
#浙大
deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#东软大学
deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
#官方源
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
deb http://download.mono-project.com/repo/debian wheezy main
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)
以上是关于docker的主要内容,如果未能解决你的问题,请参考以下文章