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.