Skip to content

Commit

Permalink
Merge pull request #42 from lima-vm/socat
Browse files Browse the repository at this point in the history
Add socat to docker installs
  • Loading branch information
jandubois authored Jan 18, 2022
2 parents 4aca229 + 0ad9bba commit 328891e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions genapkovl-lima.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ if [ "${LIMA_INSTALL_DOCKER}" == "true" ]; then
echo docker-openrc >> "$tmp"/etc/apk/world
echo docker-cli >> "$tmp"/etc/apk/world
echo docker >> "$tmp"/etc/apk/world

# kubectl port-forward requires `socat` when using docker-shim
echo socat >> "$tmp"/etc/apk/world
fi

if [ "${LIMA_INSTALL_BINFMT_MISC}" == "true" ]; then
Expand Down
1 change: 1 addition & 0 deletions mkimg.lima.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ profile_lima() {
if [ "${LIMA_INSTALL_DOCKER}" == "true" ]; then
apks="$apks libseccomp runc containerd tini-static device-mapper-libs"
apks="$apks docker-engine docker-openrc docker-cli docker"
apks="$apks socat"
fi
if [ "${LIMA_INSTALL_LIMA_INIT}" == "true" ]; then
apks="$apks e2fsprogs lsblk sfdisk shadow sudo udev"
Expand Down

0 comments on commit 328891e

Please sign in to comment.