File size: 712 Bytes
a7a22ae
e2799fd
a7a22ae
 
 
 
 
 
 
 
874ad24
a7a22ae
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Use an existing base image with Docker pre-installed
FROM docker:20.10-dind

# Optionally, set up any additional dependencies or configurations needed for your DinD environment
# For example, if you need specific tools or packages, you can install them here using the package manager of the base image (apk in this case for Alpine-based images)

# Set the working directory
WORKDIR /app

# Optionally, copy any additional files or scripts required for your DinD environment
COPY /app/ /app/

# Expose the Docker daemon port (optional, only if you need to expose it)
# EXPOSE 2375

# Define the entry point or command to start the Docker daemon (optional, the base image usually handles this)
# CMD ["dockerd"]