mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
pkg/docker-ce: add vpnkit-expose-port
vpnkit-expose-port is the dockerd userland proxy used to expose forwarding ports with vpnkit. This adds the binary to the image in /usr/bin/vpnkit-expose-port, but does not enable it by default. Signed-off-by: Magnus Skjegstad <magnus@skjegstad.com>
This commit is contained in:
parent
9d432095d0
commit
e3a25bbf5b
@ -17,8 +17,10 @@ RUN apk add --no-cache --initdb -p /out \
|
||||
xz
|
||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||
|
||||
FROM linuxkit/vpnkit-forwarder:883de832c2c3cb72cd9b01e3f7bd788649e0f2c2 AS vpnkit
|
||||
FROM scratch
|
||||
COPY --from=mirror /out/ /
|
||||
COPY --from=vpnkit /vpnkit-expose-port /usr/bin/vpnkit-expose-port
|
||||
|
||||
# set up Docker group
|
||||
# set up subuid/subgid so that "--userns-remap=default" works out-of-the-box
|
||||
|
Loading…
Reference in New Issue
Block a user