Skip to content

Commit 328891e

Browse files
authored
Merge pull request #42 from lima-vm/socat
Add socat to docker installs
2 parents 4aca229 + 0ad9bba commit 328891e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

genapkovl-lima.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ if [ "${LIMA_INSTALL_DOCKER}" == "true" ]; then
158158
echo docker-openrc >> "$tmp"/etc/apk/world
159159
echo docker-cli >> "$tmp"/etc/apk/world
160160
echo docker >> "$tmp"/etc/apk/world
161+
162+
# kubectl port-forward requires `socat` when using docker-shim
163+
echo socat >> "$tmp"/etc/apk/world
161164
fi
162165

163166
if [ "${LIMA_INSTALL_BINFMT_MISC}" == "true" ]; then

mkimg.lima.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ profile_lima() {
2323
if [ "${LIMA_INSTALL_DOCKER}" == "true" ]; then
2424
apks="$apks libseccomp runc containerd tini-static device-mapper-libs"
2525
apks="$apks docker-engine docker-openrc docker-cli docker"
26+
apks="$apks socat"
2627
fi
2728
if [ "${LIMA_INSTALL_LIMA_INIT}" == "true" ]; then
2829
apks="$apks e2fsprogs lsblk sfdisk shadow sudo udev"

0 commit comments

Comments
 (0)