This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| virtualization:docker [2022/03/29 13:33] – jotasandoku | virtualization:docker [2023/11/02 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| Tutorial, all [[https:// | Tutorial, all [[https:// | ||
| - | The principle of docker is we start a container to __Run a Task__. If there' | + | The principle of docker is we start a container to __Run a Task__. If there' |
| Line 25: | Line 25: | ||
| docker stop f51e9de57784 | docker stop f51e9de57784 | ||
| docker restart < | docker restart < | ||
| + | docker run -itd --name c3 busybox | ||
| + | docker run -it --name c2 busybox | ||
| docker exec -it "id of running container" | docker exec -it "id of running container" | ||
| | | ||