Create Dockerfile
Browse files- Dockerfile +16 -0
Dockerfile
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use the specified base image from the Docker Compose configuration
|
| 2 |
+
FROM dockurr/windows
|
| 3 |
+
|
| 4 |
+
# Metadata to describe the container
|
| 5 |
+
LABEL description="Windows container based on dockurr/windows image"
|
| 6 |
+
|
| 7 |
+
# Expose the ports specified in the Compose file
|
| 8 |
+
EXPOSE 8006 3389/tcp 3389/udp
|
| 9 |
+
|
| 10 |
+
# Note: The following configurations are typically set at runtime (e.g., via docker run or Docker Compose)
|
| 11 |
+
# - Device mapping: /dev/kvm
|
| 12 |
+
# - Capability: NET_ADMIN
|
| 13 |
+
# - Stop grace period: 2m
|
| 14 |
+
# - Restart policy: on-failure
|
| 15 |
+
|
| 16 |
+
# No additional setup is required since the Compose file doesn't specify custom commands or volumes
|