-
-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with port forwarding and latest lima 1.0 #1181
Comments
Thanks for reporting this. |
This has been created as a workaround #1182. |
@matejsp can you confirm if the workaround fixes it?
|
@abiosoft it fixes it :) came here to report same issue but it is now working correctly |
Nice. The workaround works. But it is still workaround. Should we open another task for enabling new port forwarding? |
Perfect! |
A new release has been published. |
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [abiosoft/colima](https://github.com/abiosoft/colima) | minor | `v0.7.5` -> `v0.8.0` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>abiosoft/colima (abiosoft/colima)</summary> ### [`v0.8.0`](https://github.com/abiosoft/colima/releases/tag/v0.8.0) [Compare Source](abiosoft/colima@v0.7.6...v0.8.0) #### Highlights This is a new release to address compatibility issues with [Lima v1.0.0](https://github.com/lima-vm/lima/releases/tag/v1.0.0). - Colima now utilises virtualization.framework on macOS when Qemu is not available. Fixes [#​1188](abiosoft/colima#1188). - SSH port-forwarding is retained for Lima v1.0.0. Fixes [#​1181](abiosoft/colima#1181), [#​1184](abiosoft/colima#1184), [#​1185](abiosoft/colima#1185). #### Other Updates - Nested Virtualization is now supported with the `--nested-virtualization` flag or `nestedVirtualization` config for m3 devices. - The default disk size is now 100GiB. #### Commits - core: retain SSH port forwarder by [@​abiosoft](https://github.com/abiosoft) in abiosoft/colima#1182 - core: make qemu an optional dependency by [@​abiosoft](https://github.com/abiosoft) in abiosoft/colima#1187 **Full Changelog**: abiosoft/colima@v0.7.6...v0.8.0 ### [`v0.7.6`](https://github.com/abiosoft/colima/releases/tag/v0.7.6) [Compare Source](abiosoft/colima@v0.7.5...v0.7.6) #### Highlights This release introduces the `colima update` command to update the container runtime version (e.g. Docker version) without needing to upgrade Colima or wait for the next release. #### Other Fixes - Avoid error when docker-certs directory does not exist. Fixes [#​1128](abiosoft/colima#1128). - Update host-gateway-ip in proxy settings for docker daemon. Fixes [#​956](abiosoft/colima#956), [#​1040](abiosoft/colima#1040). #### Commits - docker: avoid error where the cache docker-certs directory does not exist by [@​AlexanderOMara](https://github.com/AlexanderOMara) in abiosoft/colima#1129 - build(deps): bump golang.org/x/term from 0.23.0 to 0.24.0 by [@​dependabot](https://github.com/dependabot) in abiosoft/colima#1133 - docs: fixed typo on Apple Silicon in README by [@​analogsignals](https://github.com/analogsignals) in abiosoft/colima#1137 - docker: replace 127.0.0.1 with host gateway ip in docker daemon.json proxy settings by [@​rteeling-evernorth](https://github.com/rteeling-evernorth) in abiosoft/colima#1145 - ci: bump Go version by [@​abiosoft](https://github.com/abiosoft) in abiosoft/colima#1148 - net: update vmnet by [@​abiosoft](https://github.com/abiosoft) in abiosoft/colima#1152 - build(deps): bump golang.org/x/term from 0.24.0 to 0.25.0 by [@​dependabot](https://github.com/dependabot) in abiosoft/colima#1154 - Minor updates by [@​abiosoft](https://github.com/abiosoft) in abiosoft/colima#1156 - ci: use older qemu version by [@​abiosoft](https://github.com/abiosoft) in abiosoft/colima#1160 - build(deps): bump github.com/fatih/color from 1.17.0 to 1.18.0 by [@​dependabot](https://github.com/dependabot) in abiosoft/colima#1171 - cli: add update command by [@​abiosoft](https://github.com/abiosoft) in abiosoft/colima#1178 - core: update disk images by [@​abiosoft](https://github.com/abiosoft) in abiosoft/colima#1179 #### New Contributors - [@​AlexanderOMara](https://github.com/AlexanderOMara) made their first contribution in abiosoft/colima#1129 - [@​analogsignals](https://github.com/analogsignals) made their first contribution in abiosoft/colima#1137 - [@​rteeling-evernorth](https://github.com/rteeling-evernorth) made their first contribution in abiosoft/colima#1145 **Full Changelog**: abiosoft/colima@v0.7.5...v0.7.6 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Hey based on the workaround made with 1.0.0 it is now impossible to test with LIMA_SSH_PORT_FORWARDER set to false: Would it be possible to change to true value only if not passed from outside. |
Yeah, that can be done. |
PR created #1263 |
Perfect! thank you. will test with latest lima changes if it works better |
Description
When starting docker port forwarding does not work. I can run docker commands and start containers, however port forwarding is not working anymore.
Version
colima version && limactl --version && qemu-img --version
colima version 0.7.6
git commit: 3ab92f5
runtime: docker
arch: aarch64
client: v27.3.1
server: v27.3.1
limactl version 1.0.0
qemu-img version 9.1.1
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
Operating System
Output of
colima status
INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: virtiofs
INFO[0000] socket: unix:///Users/matej.spiller-muys/.colima/default/docker.sock
Reproduction Steps
Expected behaviour
I was actually looking forward to UDP socket with docker.
Additional context
Workaround is to run as:
LIMA_SSH_PORT_FORWARDER=true colima start
The text was updated successfully, but these errors were encountered: