public:docker_quick_how-to
Differences
This shows you the differences between two versions of the page.
public:docker_quick_how-to [2016/10/19 19:00] – created Fufu Fang | public:docker_quick_how-to [2018/03/31 00:38] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Docker Quick How-to ====== | ||
+ | Well, I use Debian. A lot of things use Ubuntu. For the sake of laziness, I decided to use Docker to run an Ubuntu image. Originally, I installed docker to run Pokemon Go bots. | ||
+ | ===== Basic commands ===== | ||
+ | * List running docker processes | ||
+ | '' | ||
+ | * List all docker containers | ||
+ | '' | ||
+ | * Instantiate an Ubuntu docker instance | ||
+ | '' | ||
+ | * Run docker with GUI support | ||
+ | '' | ||
+ | * Restart a docker instance | ||
+ | '' | ||
+ | * Clear all stopped docker instances | ||
+ | '' | ||
+ | |||
+ | ===== Run Docker with GUI support ===== | ||
+ | Please note that **you cannot run xterm as root**. | ||
+ | <code bash> | ||
+ | docker run -it --env=" | ||
+ | </ | ||
+ | |||
+ | ===== Running Docker with GPU support ===== | ||
+ | <code bash> | ||
+ | docker run -it --env=" | ||
+ | </ | ||
+ | |||
+ | ===== External Links ===== | ||
+ | [[http:// |
public/docker_quick_how-to.txt · Last modified: 2018/03/31 00:38 by 127.0.0.1