proxy uncloud.sock socket to tcp port when running machine in container

This commit is contained in:
Pavel Sviderski
2024-11-27 16:33:05 +10:00
parent a6ccd6055a
commit 871fd8c035
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -37,6 +37,7 @@ RUN crane pull "${CORROSION_IMAGE}" /corrosion.tar
FROM docker:27.3.1-dind AS machine
RUN apk --no-cache add \
socat \
wireguard-tools
# Create system group and user 'uncloud'.
RUN addgroup -S uncloud && adduser -SHD -h /nonexistent -G uncloud -g "" uncloud