Added podman with plugin dnsname

This commit is contained in:
2021-09-24 12:27:18 +02:00
parent d64472cd62
commit e9a71d6b4d
4 changed files with 25 additions and 1 deletions

View File

@@ -6,8 +6,10 @@
* [Modules](./Ansible/modules_plugins.md) * [Modules](./Ansible/modules_plugins.md)
* [AWX](./Ansible/AWX.md) * [AWX](./Ansible/AWX.md)
* [Android](./android.md) * [Android](./android.md)
* [containerization](./containerization)
* [Docker](./containerization/docker.md)
* [Podman](./containerization/podman.md)
* [curl](./curl.md) * [curl](./curl.md)
* [docker](./docker.md)
* [git](./git/README.md) * [git](./git/README.md)
* [Linux](./linux/README.md) * [Linux](./linux/README.md)
* [Archlinux](./linux/arch/README.md) * [Archlinux](./linux/arch/README.md)

View File

@@ -0,0 +1,22 @@
# Podman
## Plugins
### dnsname
To re-create the DNS functionality of Docker the Podman community wrote the [dnsname plugin](https://github.com/containers/dnsname). It uses DNSMasq to enable DNS resolution inside the containers. To enable it, edit `/etc/cni/net.d/87-podman-bridge.conflist` and add the following config in the `plugins` section:
```json
{
"type": "dnsname",
"domainName": "podman.internal"
}
```
The `domainName` setting is added after every container name, e.g. `example.podman.internal` for a container called `example`.
You can find a pre-compiled version of the plugin [here](./dnsname).
#### Links
* https://podman.io/getting-started/network#using-dns-in-container-networks
* https://github.com/containers/dnsname/blob/main/README\_PODMAN.md
* https://github.com/containers/dnsname

BIN
containerization/podman/dnsname Executable file

Binary file not shown.