diff --git a/knowledge base/docker.md b/knowledge base/docker.md index f9e49c7..1befeef 100644 --- a/knowledge base/docker.md +++ b/knowledge base/docker.md @@ -6,11 +6,17 @@ 1. [Daemon configuration](#daemon-configuration) 1. [Containers configuration](#containers-configuration) 1. [Gotchas](#gotchas) +1. [Further readings](#further-readings) 1. [Sources](#sources) ## TL;DR ```sh +# Install +brew install --cask 'docker' +sudo zypper install 'docker' + + # Show locally available images. docker images -a @@ -161,6 +167,11 @@ Those files come from the volume the docker container is using for its root, and This is due to the fact that the Docker daemon on Mac is running in a virtual machine, and not natively; hence, ports are exposed on the VM and not of the host running it.
One way around it is port forwarding to localhost (the `-p` or `-P` options). +## Further readings + +- [GitHub] page +- [Podman] + ## Sources - [Arch Linux Wiki] @@ -172,6 +183,9 @@ Those files come from the volume the docker container is using for its root, and References --> + +[podman]: podman.placeholder + [arch linux wiki]: https://wiki.archlinux.org/index.php/Docker [cheatsheet]: https://collabnix.com/docker-cheatsheet/ diff --git a/knowledge base/podman.placeholder b/knowledge base/podman.placeholder new file mode 100644 index 0000000..035a035 --- /dev/null +++ b/knowledge base/podman.placeholder @@ -0,0 +1,32 @@ +# Podman + +Daemonless container engine for Linux.
+Intended to be a drop-in replacement for [Docker]. + +1. [TL;DR](#tldr) +1. [Further readings](#further-readings) + +## TL;DR + +```sh +# Install Podman. +sudo apt install 'podman' +sudo dnf install 'podman' +sudo pacman -S 'podman' +sudo zypper install 'podman' +``` + +## Further readings + +- [Website] +- [Docker] + + + + +[website]: https://podman.io/ + + +[docker]: docker.md diff --git a/knowledge base/toolbox.md b/knowledge base/toolbox.md index 4e8f1e5..3a45e87 100644 --- a/knowledge base/toolbox.md +++ b/knowledge base/toolbox.md @@ -56,4 +56,4 @@ toolbox rmi -af [github]: https://github.com/containers/toolbox -[podman]: podman.md +[podman]: podman.placeholder