add networkmode host [skip ci]

This commit is contained in:
Gitea Action committed 2026-10-29 08:52:43 +00:00
1 parent f069ad32e8
commit dc35a5d205
3 files changed
+11 -21

No files matched your search

+7 -12
View File
@@ -15,8 +15,8 @@ This repository is built and pushed automatically.
### 🏗️ Platform Support ### 🏗️ Platform Support
| Architecture | Status | Base Image | Build Date | | Architecture | Status | Base Image | Build Date |
| :--- | :--- | :--- | :--- | | :--- | :--- | :--- | :--- |
| x86_64 (amd64) | ✅ Active | debian:trixie-slim | 29.10.2026 00:37 | | x86_64 (amd64) | ✅ Active | debian:trixie-slim | 29.10.2026 09:52 |
| aarch64 (arm64) | ✅ Active | debian:trixie-slim | 29.10.2026 00:37 | | aarch64 (arm64) | ✅ Active | debian:trixie-slim | 29.10.2026 09:52 |
--- ---
@@ -31,6 +31,8 @@ services:
hostname: ${SAMBA_HOSTNAME} hostname: ${SAMBA_HOSTNAME}
domainname: ${SAMBA_DOMAIN} domainname: ${SAMBA_DOMAIN}
restart: unless-stopped restart: unless-stopped
privileged: true
network_mode: host
environment: environment:
SAMBA_REALM: ${SAMBA_REALM} SAMBA_REALM: ${SAMBA_REALM}
SAMBA_DOMAIN: ${SAMBA_DOMAIN} SAMBA_DOMAIN: ${SAMBA_DOMAIN}
@@ -45,15 +47,7 @@ services:
- ./private:/var/lib/samba - ./private:/var/lib/samba
- ./state/log:/var/log/samba - ./state/log:/var/log/samba
- ./state/run:/run/samba - ./state/run:/run/samba
networks: stop_grace_period: 60s
samba-ad-lan:
ipv4_address: ${SAMBA_IP}
stop_grace_period: 60s
networks:
samba-ad-lan:
external: true
``` ```
### 🚀 2. Pull & start the container ### 🚀 2. Pull & start the container
### Pull or update the image ### Pull or update the image
@@ -88,10 +82,11 @@ docker run -d \
``` ```
*Last updated on: 29.10.2026 00:37* *Last updated on: 29.10.2026 09:52*
### 📜 Version History ### 📜 Version History
| Version | Date | Status | | Version | Date | Status |
| :--- | :--- | :--- | | :--- | :--- | :--- |
| **trixie** | 29.10.2026 09:52 | add networkmode host ✅ |
| **trixie** | 29.10.2026 00:37 | ✅ | | **trixie** | 29.10.2026 00:37 | ✅ |
| **trixie** | 29.10.2026 00:26 | ✅ | | **trixie** | 29.10.2026 00:26 | ✅ |
+1
View File
@@ -1,2 +1,3 @@
| **trixie** | 29.10.2026 09:52 | add networkmode host ✅ |
| **trixie** | 29.10.2026 00:37 | ✅ | | **trixie** | 29.10.2026 00:37 | ✅ |
| **trixie** | 29.10.2026 00:26 | ✅ | | **trixie** | 29.10.2026 00:26 | ✅ |
+3 -9
View File
@@ -5,6 +5,8 @@ services:
hostname: ${SAMBA_HOSTNAME} hostname: ${SAMBA_HOSTNAME}
domainname: ${SAMBA_DOMAIN} domainname: ${SAMBA_DOMAIN}
restart: unless-stopped restart: unless-stopped
privileged: true
network_mode: host
environment: environment:
SAMBA_REALM: ${SAMBA_REALM} SAMBA_REALM: ${SAMBA_REALM}
SAMBA_DOMAIN: ${SAMBA_DOMAIN} SAMBA_DOMAIN: ${SAMBA_DOMAIN}
@@ -19,12 +21,4 @@ services:
- ./private:/var/lib/samba - ./private:/var/lib/samba
- ./state/log:/var/log/samba - ./state/log:/var/log/samba
- ./state/run:/run/samba - ./state/run:/run/samba
networks: stop_grace_period: 60s
samba-ad-lan:
ipv4_address: ${SAMBA_IP}
stop_grace_period: 60s
networks:
samba-ad-lan:
external: true