Set up Docker/Debian/VirtualBox/Win7

2 篇文章 0 订阅
1 篇文章 0 订阅
Subject: Key Notes for Setting Up Docker/Debian/V-Box/WIN7


0. Check your laptop's configurations
64-bit WIN7 - host OS
Disable Virtual PC on WIN7 (a.k.a. Hyper-V Platform on WIN8)
Virtualization settings in BIOS
Press F10 to enter BIOS  (e.g. HP ProBook 6460b)
System Configuration
(1) Device Configurations -> Virtualization Technology (checked)
(2) Set Security Level -> Virtualization Technology (change select)

1. Install and configure Oracle Virtual Box
Need to set up 2 network interfaces via Global Setting -> Networking 
NatNetwork - for internet access
VirtualBox Host-Only Ethernet Adapter - for communication between Host and VM
Host Virtual Network Interface (A)  
DHCP Server (D) 
(2 screen snapshots)


Execute "ipconfig -all" from the host command line to
VirtualBox Host-Only Ethernet Adapter
(screen snapshot)


2. Import the VM's image of 64-bit Debian v8.4 
Directly use the image created by Steven. Got it from 


3. Start and configure Debian 
Create your own $LOGIN and $HOME 
Check 2 network interfaces by executing "ifconfig"
eth0 - NatNetwork
eth1 - VirtualBox Host-Only Ethernet Adapter


4. Install Docker in Debian
https://docs.docker.com/linux/step_one/
Debian - https://docs.docker.com/engine/installation/linux/debian/
Docker Hub account - https://hub.docker.com


Note: 
If using the environment within the Corporate network, 
1. Configure the proxy in the format as "http://HOST:PORT/" (e.g. $PROXY=http://xxx.xxx.xxx.xxx:8000/) for  
curl - $HOME/.bashrc
export http_proxy="$PROXY"
export https_proxy="$PROXY" 
apt - /etc/apt/apt.conf
Acquire::http::Proxy "$PROXY";
Docker's proxy - https://docs.docker.com/articles/systemd/#http-proxy
[Service]
Environment="HTTP_PROXY=$PROXY" "NO_PROXY=localhost, 127.0.0.1"
2. Configure DNS
/etc/resolv.conf
/etc/init.d/networking restart - make it effective
nslookup www.baidu.com - verify 


3. for default terminal opened by VirtualBox, use SHIFT+PageUp/PageDown


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值