Added podman with plugin dnsname
This commit is contained in:
@@ -6,8 +6,10 @@
|
||||
* [Modules](./Ansible/modules_plugins.md)
|
||||
* [AWX](./Ansible/AWX.md)
|
||||
* [Android](./android.md)
|
||||
* [containerization](./containerization)
|
||||
* [Docker](./containerization/docker.md)
|
||||
* [Podman](./containerization/podman.md)
|
||||
* [curl](./curl.md)
|
||||
* [docker](./docker.md)
|
||||
* [git](./git/README.md)
|
||||
* [Linux](./linux/README.md)
|
||||
* [Archlinux](./linux/arch/README.md)
|
||||
|
||||
22
containerization/podman/README.md
Normal file
22
containerization/podman/README.md
Normal 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
BIN
containerization/podman/dnsname
Executable file
Binary file not shown.
Reference in New Issue
Block a user