码迷,mamicode.com
首页 > 其他好文 > 详细

docker

时间:2018-09-25 01:24:38      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:http   aliyun   main   tun   org   KaliLinux   end   download   阿里云   

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
[zzq@weekend110 ~]$ docker ps
[zzq@weekend110 ~]$ docker commit 96621f37028c 0ef2e08ed3fa

[zzq@weekend110 ~]$ 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

标签:http   aliyun   main   tun   org   KaliLinux   end   download   阿里云   

原文地址:https://www.cnblogs.com/kurds/p/9697160.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!