mirror of
https://github.com/lemeow125/Notes.git
synced 2024-11-17 04:09:26 +08:00
vault backup: 2024-11-13 02:19:12
Affected files: docs/Command Snippets/Docker Run.md
This commit is contained in:
parent
e37a17f7f3
commit
42a220c0c5
1 changed files with 16 additions and 0 deletions
|
@ -162,3 +162,19 @@ docker run -d --restart=always --name inbucket \
|
||||||
-e INBUCKET_STORAGE_MAILBOXMSGCAP="5000" \
|
-e INBUCKET_STORAGE_MAILBOXMSGCAP="5000" \
|
||||||
inbucket/inbucket:latest
|
inbucket/inbucket:latest
|
||||||
```
|
```
|
||||||
|
- [Technitium DNS Server](https://github.com/TechnitiumSoftware/DnsServer)
|
||||||
|
```bash
|
||||||
|
docker run \
|
||||||
|
--name dns-server \
|
||||||
|
--hostname dns-server \
|
||||||
|
-p 8027:5380/tcp \
|
||||||
|
-p 53:53/udp \
|
||||||
|
-p 53:53/tcp \
|
||||||
|
-e DNS_SERVER_DOMAIN=ns1.domain.com \
|
||||||
|
-e DNS_SERVER_ADMIN_PASSWORD_FILE=/mnt/sda1/files/docker\ projects/technitium/password.txt \
|
||||||
|
-v /mnt/sda1/files/docker\ projects/technitium/config:/etc/dns \
|
||||||
|
--restart unless-stopped \
|
||||||
|
--privileged \
|
||||||
|
--sysctl net.ipv4.ip_local_port_range="1024 65000" \
|
||||||
|
technitium/dns-server:latest
|
||||||
|
```
|
Loading…
Reference in a new issue