Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docker_notes:docker [2024-01-14 Sun wk02 12:04] – [DNS and nftable / iptables / netfilter within containers] baumkp | docker_notes:docker [2024-11-10 Sun wk45 12:17] (current) – [Installation] baumkp | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
- | Much of this material was originally sourced from: [[https:// | ||
- | |||
======Docker====== | ======Docker====== | ||
Line 10: | Line 8: | ||
=====Installation===== | =====Installation===== | ||
+ | *[[https:// | ||
One click installation script: | One click installation script: | ||
*'' | *'' | ||
Line 22: | Line 20: | ||
Install Docker Engine : [Docker Engine](https:// | Install Docker Engine : [Docker Engine](https:// | ||
+ | |||
+ | ====Docker Desktop for Linux==== | ||
+ | I have preferred to run Docker command as a native Linux applications. | ||
=====Uninstall===== | =====Uninstall===== | ||
Both the install methods actually use the standard package manager to install docker. | Both the install methods actually use the standard package manager to install docker. | ||
- | -'' | + | -'' |
-'' | -'' | ||
-Check the the '' | -Check the the '' | ||
Line 124: | Line 125: | ||
* Then remove the agent container: '' | * Then remove the agent container: '' | ||
* Then pull the latest portainer/ | * Then pull the latest portainer/ | ||
- | <code yaml> | + | <code yaml> |
- | -v / | + | |
- | -v / | + | |
- | portainer/ | + | |
- | =====Build Images===== | ||
=====Docker CLI===== | =====Docker CLI===== | ||
+ | Much of this material was originally sourced from: [[https:// | ||
**Run Containers** | **Run Containers** | ||
Line 238: | Line 237: | ||
|'' | |'' | ||
+ | ====docker ps command==== | ||
+ | The '' | ||
+ | *'' | ||
+ | < | ||
+ | *'' | ||
+ | < | ||
+ | *'' | ||
+ | < | ||
+ | |||
+ | ===reference=== | ||
+ | *[[https:// | ||
+ | *Docker Docs | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
====Backup a container==== | ====Backup a container==== | ||
Backup docker data from inside container volumes and package it in a tarball archive.\\ | Backup docker data from inside container volumes and package it in a tarball archive.\\ | ||
Line 290: | Line 303: | ||
- Overlay network, an even more obscure network arrangement I know nothing about. | - Overlay network, an even more obscure network arrangement I know nothing about. | ||
- None network - no assigned network, container has no external network connectivity | - None network - no assigned network, container has no external network connectivity | ||
+ | |||
+ | ====network troubleshooting==== | ||
+ | A lot of containers are setup to be small and hence do not include many, if any of the tools required to diagnose problems. | ||
+ | *'' | ||
+ | |||
====Troubleshooting==== | ====Troubleshooting==== | ||
*[[https:// | *[[https:// |