For virtualenv to install all files in the requirements.txt file.
- cd to the directory where requirements.txt is located
- activate your virtualenv
- run:
pip install -r requirements.txt
in your shell
6.
1. 以 -v 啟動docker 後,查看volume在host上的路徑:
用awk就可以取到我們想要的路徑:
2. If you need ping in the container, read this post:
Docker ubuntu ping bash not found
3. If you want to access a folder on the host from a ubuntu VM :
How to Access Folders on Your Host Machine from an Ubuntu Virtual Machine in VirtualBox
4. ubuntu 密碼忘記了怎麽辦?
How to change root password in ubuntu?
5. pip 批量安裝:
For virtualenv to install all files in the requirements.txt file.
pip install -r requirements.txt
in your shell6.