Below are the steps I followed to create edx devstack on ubuntu 16.04 running inside virtualbox on Windows 10.
Create virtual box ubuntu instance with atleast 20 Gig so that you do not run into disk full errors.
sudo apt install git
sudo apt-get update
sudo apt install make
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-key fingerprint 0EBFCD88
sudo apt-get install docker-ce
sudo apt install python
sudo docker info | grep -i 'storage driver'
sudo curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
sudo apt-get install python-pip
mkdir edx
cd edx
git clone https://github.com/edx/devstack.git
cd devstack/
make requirements
make dev.checkout
make dev.clone
make dev.provision
sudo make dev.provision 2>&1>provision.log