mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 01:59:07 +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
|
xz
|
||||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||||
|
|
||||||
|
FROM linuxkit/vpnkit-forwarder:883de832c2c3cb72cd9b01e3f7bd788649e0f2c2 AS vpnkit
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=mirror /out/ /
|
COPY --from=mirror /out/ /
|
||||||
|
COPY --from=vpnkit /vpnkit-expose-port /usr/bin/vpnkit-expose-port
|
||||||
|
|
||||||
# set up Docker group
|
# set up Docker group
|
||||||
# set up subuid/subgid so that "--userns-remap=default" works out-of-the-box
|
# set up subuid/subgid so that "--userns-remap=default" works out-of-the-box
|
||||||
|
Loading…
Reference in New Issue
Block a user