-
Notifications
You must be signed in to change notification settings - Fork 95
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
fix: switch from rootless containers to rootful containers #232
Conversation
261654c
to
aefa17d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM re. the current code, thanks!
Should this be feat! (bumps minor version) or fix (bumps patch version)? Following semantic versioning, my thought is the switching implementation details but not impacting external features should be fix, even if rootful is a big switch. However, this broke two existing e2e tests, but these 2 e2e tests are specifically to how we implement the tests. It only happens in using netcat to run a server in container and test port forwarding. The reason is when container starts in rootful mode, it will ping the netcat port for one time, and netcat will exit after being pinged for one time. We are changing from netcat to nginx and they would all passed because nginx can be consistently pinged. |
I'm more inclined to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can change the PR title, which will be commit msg and appear in changelog later, to be something like switch from rootless containers to rootful containers
. The current title may not be clear that all the containers are going to be rootful, not just supported.
If the change is transparent to users, meaning that users before the change will not have their VM stop working, and users after the change will still have their Yes, we had to refactor the test, but most users aren't running containers that only publish a message on a port once ("one-shot" containers), so I actually think the new test is more representative of the actual usage of the However, in my testing, this does (or at least can) break users with existing VMs when they update and run
Repro is:
|
A Finch user will use an installer to update their Finch, and the existing VM will be erased by the installer, so this problem may not happen for normal users? In other words, it should only impact Finch devs. Wondering this:
Since we're mounting the rootful counterparts into the same location in the persistent disk, theoretically it should work, but maybe we should verify that because if it's not working, then it'll be a breaking change for our users. |
I tried this test. The test was setup using
Observations.
This would be a breaking change for users who want to start their saved containers after upgrading to rootful. |
That's a good point, the scenario I posted can only really happen to devs. We can include a mention in the release notes to say that it's expected and also list how to fix it.
I just tested this (basically just removing my dev vm before re-init), and it worked fine fwiw. I think we already have e2e tests for persistent volume, but not across versions so this sounds like something we will have to manually verify. |
Interesting, I guess my tests weren't as in depth as yours. I think we can actually fix that by mounting the persistent data volume to both the old rootless and new rootfull locations. Can you try that out? |
This actually works. However should we make this change though just to support rootless containers which were created prior to this change? |
Yeah that's fair. I don't have a strong opinion on this. By "confusion & complexity", I was mainly referring to the fact that yet another set of paths that needs to be understood by Finch devs. |
Signed-off-by: Vishwas Siravara <[email protected]>
1101c2b
to
3e8bec6
Compare
Added tests in PR description testing persistence of images, containers, volumes and networks between rootless and rootful. |
Signed-off-by: Vishwas Siravara <[email protected]>
🤖 I have created a release *beep* *boop* --- ## [0.4.1](v0.4.0...v0.4.1) (2023-03-02) ### Bug Fixes * parse --add-host special ip with equal sign ([#229](#229)) ([fb4b62b](fb4b62b)) * switch from rootless containers to rootful containers ([#232](#232)) ([ae43a07](ae43a07)) ### Build System or External Dependencies * **deps:** Bump github.com/containerd/containerd from 1.6.14 to 1.6.18 ([#223](#223)) ([7480222](7480222)) * **deps:** bump github.com/lima-vm/lima from 0.14.2 to 0.15.0 ([#247](#247)) ([007081e](007081e)) * **deps:** Bump github.com/onsi/ginkgo/v2 from 2.8.0 to 2.8.3 ([#233](#233)) ([1185372](1185372)) * **deps:** bump github.com/onsi/ginkgo/v2 from 2.8.3 to 2.8.4 ([#245](#245)) ([5e64716](5e64716)) * **deps:** Bump github.com/onsi/gomega from 1.26.0 to 1.27.1 ([#234](#234)) ([cd43781](cd43781)) * **deps:** bump github.com/onsi/gomega from 1.27.1 to 1.27.2 ([#246](#246)) ([863c51e](863c51e)) * **deps:** Bump github.com/runfinch/common-tests from 0.5.0 to 0.6.0 ([#235](#235)) ([4a33a2e](4a33a2e)) * **deps:** Bump github.com/spf13/afero from 1.9.3 to 1.9.4 ([#241](#241)) ([58f26e6](58f26e6)) * **deps:** bump github.com/stretchr/testify from 1.8.1 to 1.8.2 ([#244](#244)) ([984af70](984af70)) * **deps:** Bump golang.org/x/crypto from 0.5.0 to 0.6.0 ([#212](#212)) ([e1a36cf](e1a36cf)) * **deps:** bump k8s.io/apimachinery from 0.26.1 to 0.26.2 ([#251](#251)) ([4a7268e](4a7268e)) * update os image versions ([#255](#255)) ([576765b](576765b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Adding additional observations with forward compatibility. I was doing some more testing between rootful and rootless mode. If there is a situation where users who produce rootful containers will for some reason downgrade the version of finch to a rootless version(say 0.4.0) the persisted data will not run in the rootelss context and users might lose persisted data. I found that rootful containers can't run in rootless mode from my test. |
Yeah, we should definitely mention that in the patch notes. Eventually, we may support both modes and need to come up with a more permanent fix for this (maybe just two different sets of mount points, or two different hosts), but for now, I think it makes sense as a note. We might even want to add it to a doc page/README too. |
Cool will add the below note in the release notes. Note on rootful containersContainers created by Finch >= v0.4.1 will malfunction in versions <=0.4.0. |
Looks good, but is it possible to add some more context into why this would occur? |
Changed to "Containers created using Finch version 0.4.1 or later may not function properly in versions 0.4.0 or earlier due to how the data of rootful containers is stored with root user permissions. This can cause issues when accessed by older versions of Finch that do not support rootful containers." |
🤖 I have created a release *beep* *boop* --- ## [0.5.0](v0.4.1...v0.5.0) (2023-03-20) ### ⚠ BREAKING CHANGES * persists nerdctl user data ([runfinch#182](https://github.com/vsiravar/finch-public/issues/182)) * changes persistent disk path to prevent collisions ### Features * add `finch cp` command ([runfinch#135](https://github.com/vsiravar/finch-public/issues/135)) ([5989361](5989361)) * add `finch vm status` command ([runfinch#83](https://github.com/vsiravar/finch-public/issues/83)) ([37d74d0](37d74d0)) * add config to support additional directories ([runfinch#128](https://github.com/vsiravar/finch-public/issues/128)) ([0ceb060](0ceb060)) * adds a --force flag to vm stop and remove ([runfinch#178](https://github.com/vsiravar/finch-public/issues/178)) ([d499a7d](d499a7d)) * Play with semver and revert ([#46](#46)) ([2299e1e](2299e1e)) * Print version with Client and Server ([runfinch#108](https://github.com/vsiravar/finch-public/issues/108)) ([7f7cdda](7f7cdda)) * saves containerd user data to a persistent disk ([runfinch#133](https://github.com/vsiravar/finch-public/issues/133)) ([fccb4f3](fccb4f3)) * Support special IP host-gateway in --add-host flag ([runfinch#216](https://github.com/vsiravar/finch-public/issues/216)) ([9a38c8e](9a38c8e)) ### Bug Fixes * changes persistent disk path to prevent collisions ([3eb66a2](3eb66a2)) * Configure Buildkit Namespace as Env Variable ([runfinch#129](https://github.com/vsiravar/finch-public/issues/129)) ([ffb90be](ffb90be)) * correctly handle local environment value pass-through ([runfinch#158](https://github.com/vsiravar/finch-public/issues/158)) ([e138f10](e138f10)) * error readable by using the right placeholder ([#39](#39)) ([8e5f38d](8e5f38d)) * fix the misleading log when applying invalid config ([runfinch#119](https://github.com/vsiravar/finch-public/issues/119)) ([b4f74c5](b4f74c5)) * ignore .ssh pub keys ([runfinch#109](https://github.com/vsiravar/finch-public/issues/109)) ([0b74597](0b74597)) * parse --add-host special ip with equal sign ([runfinch#229](https://github.com/vsiravar/finch-public/issues/229)) ([fb4b62b](fb4b62b)) * persists nerdctl user data ([runfinch#182](https://github.com/vsiravar/finch-public/issues/182)) ([59f372c](59f372c)) * persists network user data ([runfinch#211](https://github.com/vsiravar/finch-public/issues/211)) ([f6baf82](f6baf82)) * print debug logs after newline ([runfinch#273](https://github.com/vsiravar/finch-public/issues/273)) ([8faa7de](8faa7de)) * print debug logs when lima disk command fails ([runfinch#270](https://github.com/vsiravar/finch-public/issues/270)) ([78a3f50](78a3f50)) * switch from rootless containers to rootful containers ([runfinch#232](https://github.com/vsiravar/finch-public/issues/232)) ([ae43a07](ae43a07)) ### Build System or External Dependencies * clean up finch-core _output directory in clean target ([runfinch#290](https://github.com/vsiravar/finch-public/issues/290)) ([4684a95](4684a95)) * **deps:** bump finch-core to 0.1.1 ([runfinch#93](https://github.com/vsiravar/finch-public/issues/93)) ([3f3bce5](3f3bce5)) * **deps:** Bump github.com/containerd/containerd from 1.6.14 to 1.6.18 ([runfinch#223](https://github.com/vsiravar/finch-public/issues/223)) ([7480222](7480222)) * **deps:** Bump github.com/google/go-licenses from 1.5.0 to 1.6.0 ([runfinch#168](https://github.com/vsiravar/finch-public/issues/168)) ([bb5674c](bb5674c)) * **deps:** Bump github.com/lima-vm/lima from 0.12.0 to 0.13.0 ([#40](#40)) ([520cc7f](520cc7f)) * **deps:** Bump github.com/lima-vm/lima from 0.13.0 to 0.14.0 ([runfinch#113](https://github.com/vsiravar/finch-public/issues/113)) ([9b275bc](9b275bc)) * **deps:** Bump github.com/lima-vm/lima from 0.14.0 to 0.14.1 ([runfinch#120](https://github.com/vsiravar/finch-public/issues/120)) ([9dea794](9dea794)) * **deps:** Bump github.com/lima-vm/lima from 0.14.1 to 0.14.2 ([runfinch#130](https://github.com/vsiravar/finch-public/issues/130)) ([26b7b09](26b7b09)) * **deps:** bump github.com/lima-vm/lima from 0.14.2 to 0.15.0 ([runfinch#247](https://github.com/vsiravar/finch-public/issues/247)) ([007081e](007081e)) * **deps:** Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1 ([#50](#50)) ([fa108fd](fa108fd)) * **deps:** Bump github.com/onsi/ginkgo/v2 from 2.5.1 to 2.6.0 ([runfinch#114](https://github.com/vsiravar/finch-public/issues/114)) ([934521c](934521c)) * **deps:** Bump github.com/onsi/ginkgo/v2 from 2.6.0 to 2.6.1 ([runfinch#121](https://github.com/vsiravar/finch-public/issues/121)) ([becbc44](becbc44)) * **deps:** Bump github.com/onsi/ginkgo/v2 from 2.7.0 to 2.7.1 ([runfinch#193](https://github.com/vsiravar/finch-public/issues/193)) ([7aaa381](7aaa381)) * **deps:** Bump github.com/onsi/ginkgo/v2 from 2.7.1 to 2.8.0 ([runfinch#200](https://github.com/vsiravar/finch-public/issues/200)) ([596ed33](596ed33)) * **deps:** Bump github.com/onsi/ginkgo/v2 from 2.8.0 to 2.8.3 ([runfinch#233](https://github.com/vsiravar/finch-public/issues/233)) ([1185372](1185372)) * **deps:** bump github.com/onsi/ginkgo/v2 from 2.8.3 to 2.8.4 ([runfinch#245](https://github.com/vsiravar/finch-public/issues/245)) ([5e64716](5e64716)) * **deps:** bump github.com/onsi/ginkgo/v2 from 2.8.4 to 2.9.0 ([runfinch#265](https://github.com/vsiravar/finch-public/issues/265)) ([7e2d49e](7e2d49e)) * **deps:** bump github.com/onsi/ginkgo/v2 from 2.9.0 to 2.9.1 ([runfinch#285](https://github.com/vsiravar/finch-public/issues/285)) ([d741a03](d741a03)) * **deps:** Bump github.com/onsi/gomega from 1.24.1 to 1.24.2 ([runfinch#122](https://github.com/vsiravar/finch-public/issues/122)) ([d8174ff](d8174ff)) * **deps:** Bump github.com/onsi/gomega from 1.24.2 to 1.25.0 ([runfinch#165](https://github.com/vsiravar/finch-public/issues/165)) ([e4b9e96](e4b9e96)) * **deps:** Bump github.com/onsi/gomega from 1.25.0 to 1.26.0 ([runfinch#183](https://github.com/vsiravar/finch-public/issues/183)) ([12661b7](12661b7)) * **deps:** Bump github.com/onsi/gomega from 1.26.0 to 1.27.1 ([runfinch#234](https://github.com/vsiravar/finch-public/issues/234)) ([cd43781](cd43781)) * **deps:** bump github.com/onsi/gomega from 1.27.1 to 1.27.2 ([runfinch#246](https://github.com/vsiravar/finch-public/issues/246)) ([863c51e](863c51e)) * **deps:** Bump github.com/runfinch/common-tests from 0.1.1 to 0.2.0 ([runfinch#125](https://github.com/vsiravar/finch-public/issues/125)) ([1bac92a](1bac92a)) * **deps:** Bump github.com/runfinch/common-tests from 0.2.0 to 0.3.0 ([runfinch#151](https://github.com/vsiravar/finch-public/issues/151)) ([79df04e](79df04e)) * **deps:** Bump github.com/runfinch/common-tests from 0.5.0 to 0.6.0 ([runfinch#235](https://github.com/vsiravar/finch-public/issues/235)) ([4a33a2e](4a33a2e)) * **deps:** bump github.com/runfinch/common-tests from 0.6.1 to 0.6.2 ([runfinch#300](https://github.com/vsiravar/finch-public/issues/300)) ([dd626a0](dd626a0)) * **deps:** Bump github.com/runfinch/common-tests version from v0.1.0 to v0.1.1 ([runfinch#76](https://github.com/vsiravar/finch-public/issues/76)) ([fd22d4a](fd22d4a)) * **deps:** Bump github.com/runfinch/common-tests version from v0.3.0 to v0.3.1 ([runfinch#169](https://github.com/vsiravar/finch-public/issues/169)) ([16157fe](16157fe)) * **deps:** Bump github.com/spf13/afero from 1.9.2 to 1.9.3 ([#43](#43)) ([bf0ad84](bf0ad84)) * **deps:** Bump github.com/spf13/afero from 1.9.3 to 1.9.4 ([runfinch#241](https://github.com/vsiravar/finch-public/issues/241)) ([58f26e6](58f26e6)) * **deps:** bump github.com/spf13/afero from 1.9.4 to 1.9.5 ([runfinch#263](https://github.com/vsiravar/finch-public/issues/263)) ([a0e277f](a0e277f)) * **deps:** Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 ([#44](#44)) ([31c6d70](31c6d70)) * **deps:** bump github.com/stretchr/testify from 1.8.1 to 1.8.2 ([runfinch#244](https://github.com/vsiravar/finch-public/issues/244)) ([984af70](984af70)) * **deps:** Bump github.com/xorcare/pointer from 1.2.1 to 1.2.2 ([#42](#42)) ([8e83137](8e83137)) * **deps:** Bump golang.org/x/crypto from 0.1.0 to 0.3.0 ([#49](#49)) ([89826cf](89826cf)) * **deps:** Bump golang.org/x/crypto from 0.3.0 to 0.4.0 ([runfinch#102](https://github.com/vsiravar/finch-public/issues/102)) ([d2778e3](d2778e3)) * **deps:** Bump golang.org/x/crypto from 0.4.0 to 0.5.0 ([runfinch#138](https://github.com/vsiravar/finch-public/issues/138)) ([8d06eec](8d06eec)) * **deps:** Bump golang.org/x/crypto from 0.4.0 to 0.5.0 ([runfinch#144](https://github.com/vsiravar/finch-public/issues/144)) ([603419a](603419a)) * **deps:** Bump golang.org/x/crypto from 0.5.0 to 0.6.0 ([runfinch#212](https://github.com/vsiravar/finch-public/issues/212)) ([e1a36cf](e1a36cf)) * **deps:** bump golang.org/x/crypto from 0.6.0 to 0.7.0 ([runfinch#264](https://github.com/vsiravar/finch-public/issues/264)) ([ec1c07f](ec1c07f)) * **deps:** Bump golang.org/x/tools from 0.2.0 to 0.3.0 ([#52](#52)) ([27c8f24](27c8f24)) * **deps:** Bump golang.org/x/tools from 0.3.0 to 0.4.0 ([runfinch#101](https://github.com/vsiravar/finch-public/issues/101)) ([b3c4df1](b3c4df1)) * **deps:** Bump golang.org/x/tools from 0.4.0 to 0.5.0 ([runfinch#139](https://github.com/vsiravar/finch-public/issues/139)) ([89194dc](89194dc)) * **deps:** Bump golang.org/x/tools from 0.5.0 to 0.6.0 ([runfinch#215](https://github.com/vsiravar/finch-public/issues/215)) ([decf250](decf250)) * **deps:** bump golang.org/x/tools from 0.6.0 to 0.7.0 ([runfinch#268](https://github.com/vsiravar/finch-public/issues/268)) ([8072e39](8072e39)) * **deps:** Bump k8s.io/apimachinery from 0.25.2 to 0.25.4 ([#51](#51)) ([8f15779](8f15779)) * **deps:** Bump k8s.io/apimachinery from 0.25.4 to 0.26.0 ([runfinch#115](https://github.com/vsiravar/finch-public/issues/115)) ([e9084a4](e9084a4)) * **deps:** Bump k8s.io/apimachinery from 0.26.0 to 0.26.1 ([runfinch#174](https://github.com/vsiravar/finch-public/issues/174)) ([829b0bc](829b0bc)) * **deps:** bump k8s.io/apimachinery from 0.26.1 to 0.26.2 ([runfinch#251](https://github.com/vsiravar/finch-public/issues/251)) ([4a7268e](4a7268e)) * **deps:** bump k8s.io/apimachinery from 0.26.2 to 0.26.3 ([runfinch#306](https://github.com/vsiravar/finch-public/issues/306)) ([fe392cb](fe392cb)) * **deps:** Bump lima version ([runfinch#141](https://github.com/vsiravar/finch-public/issues/141)) ([35da07d](35da07d)) * **deps:** Bump lima version ([runfinch#302](https://github.com/vsiravar/finch-public/issues/302)) ([0269743](0269743)) * **deps:** Bump lima version ([runfinch#75](https://github.com/vsiravar/finch-public/issues/75)) ([cfaa4f6](cfaa4f6)) * **deps:** Bump submodules ([runfinch#281](https://github.com/vsiravar/finch-public/issues/281)) ([d4fd1f6](d4fd1f6)) * **deps:** Bump submodules ([runfinch#304](https://github.com/vsiravar/finch-public/issues/304)) ([b38af9f](b38af9f)) * make finch-core a submodule instead of downloading archives ([runfinch#188](https://github.com/vsiravar/finch-public/issues/188)) ([b08f588](b08f588)) * update os image versions ([runfinch#255](https://github.com/vsiravar/finch-public/issues/255)) ([576765b](576765b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [0.6.0](v0.5.0...v0.6.0) (2023-03-20) ### ⚠ BREAKING CHANGES * persists nerdctl user data ([runfinch#182](https://github.com/vsiravar/finch-public/issues/182)) * changes persistent disk path to prevent collisions ### Features * add `finch cp` command ([runfinch#135](https://github.com/vsiravar/finch-public/issues/135)) ([5989361](5989361)) * add `finch vm status` command ([runfinch#83](https://github.com/vsiravar/finch-public/issues/83)) ([37d74d0](37d74d0)) * add config to support additional directories ([runfinch#128](https://github.com/vsiravar/finch-public/issues/128)) ([0ceb060](0ceb060)) * adds a --force flag to vm stop and remove ([runfinch#178](https://github.com/vsiravar/finch-public/issues/178)) ([d499a7d](d499a7d)) * Play with semver and revert ([#46](#46)) ([2299e1e](2299e1e)) * Print version with Client and Server ([runfinch#108](https://github.com/vsiravar/finch-public/issues/108)) ([7f7cdda](7f7cdda)) * saves containerd user data to a persistent disk ([runfinch#133](https://github.com/vsiravar/finch-public/issues/133)) ([fccb4f3](fccb4f3)) * Support special IP host-gateway in --add-host flag ([runfinch#216](https://github.com/vsiravar/finch-public/issues/216)) ([9a38c8e](9a38c8e)) ### Bug Fixes * changes persistent disk path to prevent collisions ([3eb66a2](3eb66a2)) * Configure Buildkit Namespace as Env Variable ([runfinch#129](https://github.com/vsiravar/finch-public/issues/129)) ([ffb90be](ffb90be)) * correctly handle local environment value pass-through ([runfinch#158](https://github.com/vsiravar/finch-public/issues/158)) ([e138f10](e138f10)) * error readable by using the right placeholder ([#39](#39)) ([8e5f38d](8e5f38d)) * fix the misleading log when applying invalid config ([runfinch#119](https://github.com/vsiravar/finch-public/issues/119)) ([b4f74c5](b4f74c5)) * ignore .ssh pub keys ([runfinch#109](https://github.com/vsiravar/finch-public/issues/109)) ([0b74597](0b74597)) * parse --add-host special ip with equal sign ([runfinch#229](https://github.com/vsiravar/finch-public/issues/229)) ([fb4b62b](fb4b62b)) * persists nerdctl user data ([runfinch#182](https://github.com/vsiravar/finch-public/issues/182)) ([59f372c](59f372c)) * persists network user data ([runfinch#211](https://github.com/vsiravar/finch-public/issues/211)) ([f6baf82](f6baf82)) * print debug logs after newline ([runfinch#273](https://github.com/vsiravar/finch-public/issues/273)) ([8faa7de](8faa7de)) * print debug logs when lima disk command fails ([runfinch#270](https://github.com/vsiravar/finch-public/issues/270)) ([78a3f50](78a3f50)) * switch from rootless containers to rootful containers ([runfinch#232](https://github.com/vsiravar/finch-public/issues/232)) ([ae43a07](ae43a07)) ### Build System or External Dependencies * clean up finch-core _output directory in clean target ([runfinch#290](https://github.com/vsiravar/finch-public/issues/290)) ([4684a95](4684a95)) * **deps:** bump finch-core to 0.1.1 ([runfinch#93](https://github.com/vsiravar/finch-public/issues/93)) ([3f3bce5](3f3bce5)) * **deps:** Bump github.com/containerd/containerd from 1.6.14 to 1.6.18 ([runfinch#223](https://github.com/vsiravar/finch-public/issues/223)) ([7480222](7480222)) * **deps:** Bump github.com/google/go-licenses from 1.5.0 to 1.6.0 ([runfinch#168](https://github.com/vsiravar/finch-public/issues/168)) ([bb5674c](bb5674c)) * **deps:** Bump github.com/lima-vm/lima from 0.12.0 to 0.13.0 ([#40](#40)) ([520cc7f](520cc7f)) * **deps:** Bump github.com/lima-vm/lima from 0.13.0 to 0.14.0 ([runfinch#113](https://github.com/vsiravar/finch-public/issues/113)) ([9b275bc](9b275bc)) * **deps:** Bump github.com/lima-vm/lima from 0.14.0 to 0.14.1 ([runfinch#120](https://github.com/vsiravar/finch-public/issues/120)) ([9dea794](9dea794)) * **deps:** Bump github.com/lima-vm/lima from 0.14.1 to 0.14.2 ([runfinch#130](https://github.com/vsiravar/finch-public/issues/130)) ([26b7b09](26b7b09)) * **deps:** bump github.com/lima-vm/lima from 0.14.2 to 0.15.0 ([runfinch#247](https://github.com/vsiravar/finch-public/issues/247)) ([007081e](007081e)) * **deps:** Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1 ([#50](#50)) ([fa108fd](fa108fd)) * **deps:** Bump github.com/onsi/ginkgo/v2 from 2.5.1 to 2.6.0 ([runfinch#114](https://github.com/vsiravar/finch-public/issues/114)) ([934521c](934521c)) * **deps:** Bump github.com/onsi/ginkgo/v2 from 2.6.0 to 2.6.1 ([runfinch#121](https://github.com/vsiravar/finch-public/issues/121)) ([becbc44](becbc44)) * **deps:** Bump github.com/onsi/ginkgo/v2 from 2.7.0 to 2.7.1 ([runfinch#193](https://github.com/vsiravar/finch-public/issues/193)) ([7aaa381](7aaa381)) * **deps:** Bump github.com/onsi/ginkgo/v2 from 2.7.1 to 2.8.0 ([runfinch#200](https://github.com/vsiravar/finch-public/issues/200)) ([596ed33](596ed33)) * **deps:** Bump github.com/onsi/ginkgo/v2 from 2.8.0 to 2.8.3 ([runfinch#233](https://github.com/vsiravar/finch-public/issues/233)) ([1185372](1185372)) * **deps:** bump github.com/onsi/ginkgo/v2 from 2.8.3 to 2.8.4 ([runfinch#245](https://github.com/vsiravar/finch-public/issues/245)) ([5e64716](5e64716)) * **deps:** bump github.com/onsi/ginkgo/v2 from 2.8.4 to 2.9.0 ([runfinch#265](https://github.com/vsiravar/finch-public/issues/265)) ([7e2d49e](7e2d49e)) * **deps:** bump github.com/onsi/ginkgo/v2 from 2.9.0 to 2.9.1 ([runfinch#285](https://github.com/vsiravar/finch-public/issues/285)) ([d741a03](d741a03)) * **deps:** Bump github.com/onsi/gomega from 1.24.1 to 1.24.2 ([runfinch#122](https://github.com/vsiravar/finch-public/issues/122)) ([d8174ff](d8174ff)) * **deps:** Bump github.com/onsi/gomega from 1.24.2 to 1.25.0 ([runfinch#165](https://github.com/vsiravar/finch-public/issues/165)) ([e4b9e96](e4b9e96)) * **deps:** Bump github.com/onsi/gomega from 1.25.0 to 1.26.0 ([runfinch#183](https://github.com/vsiravar/finch-public/issues/183)) ([12661b7](12661b7)) * **deps:** Bump github.com/onsi/gomega from 1.26.0 to 1.27.1 ([runfinch#234](https://github.com/vsiravar/finch-public/issues/234)) ([cd43781](cd43781)) * **deps:** bump github.com/onsi/gomega from 1.27.1 to 1.27.2 ([runfinch#246](https://github.com/vsiravar/finch-public/issues/246)) ([863c51e](863c51e)) * **deps:** Bump github.com/runfinch/common-tests from 0.1.1 to 0.2.0 ([runfinch#125](https://github.com/vsiravar/finch-public/issues/125)) ([1bac92a](1bac92a)) * **deps:** Bump github.com/runfinch/common-tests from 0.2.0 to 0.3.0 ([runfinch#151](https://github.com/vsiravar/finch-public/issues/151)) ([79df04e](79df04e)) * **deps:** Bump github.com/runfinch/common-tests from 0.5.0 to 0.6.0 ([runfinch#235](https://github.com/vsiravar/finch-public/issues/235)) ([4a33a2e](4a33a2e)) * **deps:** bump github.com/runfinch/common-tests from 0.6.1 to 0.6.2 ([runfinch#300](https://github.com/vsiravar/finch-public/issues/300)) ([dd626a0](dd626a0)) * **deps:** Bump github.com/runfinch/common-tests version from v0.1.0 to v0.1.1 ([runfinch#76](https://github.com/vsiravar/finch-public/issues/76)) ([fd22d4a](fd22d4a)) * **deps:** Bump github.com/runfinch/common-tests version from v0.3.0 to v0.3.1 ([runfinch#169](https://github.com/vsiravar/finch-public/issues/169)) ([16157fe](16157fe)) * **deps:** Bump github.com/spf13/afero from 1.9.2 to 1.9.3 ([#43](#43)) ([bf0ad84](bf0ad84)) * **deps:** Bump github.com/spf13/afero from 1.9.3 to 1.9.4 ([runfinch#241](https://github.com/vsiravar/finch-public/issues/241)) ([58f26e6](58f26e6)) * **deps:** bump github.com/spf13/afero from 1.9.4 to 1.9.5 ([runfinch#263](https://github.com/vsiravar/finch-public/issues/263)) ([a0e277f](a0e277f)) * **deps:** Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 ([#44](#44)) ([31c6d70](31c6d70)) * **deps:** bump github.com/stretchr/testify from 1.8.1 to 1.8.2 ([runfinch#244](https://github.com/vsiravar/finch-public/issues/244)) ([984af70](984af70)) * **deps:** Bump github.com/xorcare/pointer from 1.2.1 to 1.2.2 ([#42](#42)) ([8e83137](8e83137)) * **deps:** Bump golang.org/x/crypto from 0.1.0 to 0.3.0 ([#49](#49)) ([89826cf](89826cf)) * **deps:** Bump golang.org/x/crypto from 0.3.0 to 0.4.0 ([runfinch#102](https://github.com/vsiravar/finch-public/issues/102)) ([d2778e3](d2778e3)) * **deps:** Bump golang.org/x/crypto from 0.4.0 to 0.5.0 ([runfinch#138](https://github.com/vsiravar/finch-public/issues/138)) ([8d06eec](8d06eec)) * **deps:** Bump golang.org/x/crypto from 0.4.0 to 0.5.0 ([runfinch#144](https://github.com/vsiravar/finch-public/issues/144)) ([603419a](603419a)) * **deps:** Bump golang.org/x/crypto from 0.5.0 to 0.6.0 ([runfinch#212](https://github.com/vsiravar/finch-public/issues/212)) ([e1a36cf](e1a36cf)) * **deps:** bump golang.org/x/crypto from 0.6.0 to 0.7.0 ([runfinch#264](https://github.com/vsiravar/finch-public/issues/264)) ([ec1c07f](ec1c07f)) * **deps:** Bump golang.org/x/tools from 0.2.0 to 0.3.0 ([#52](#52)) ([27c8f24](27c8f24)) * **deps:** Bump golang.org/x/tools from 0.3.0 to 0.4.0 ([runfinch#101](https://github.com/vsiravar/finch-public/issues/101)) ([b3c4df1](b3c4df1)) * **deps:** Bump golang.org/x/tools from 0.4.0 to 0.5.0 ([runfinch#139](https://github.com/vsiravar/finch-public/issues/139)) ([89194dc](89194dc)) * **deps:** Bump golang.org/x/tools from 0.5.0 to 0.6.0 ([runfinch#215](https://github.com/vsiravar/finch-public/issues/215)) ([decf250](decf250)) * **deps:** bump golang.org/x/tools from 0.6.0 to 0.7.0 ([runfinch#268](https://github.com/vsiravar/finch-public/issues/268)) ([8072e39](8072e39)) * **deps:** Bump k8s.io/apimachinery from 0.25.2 to 0.25.4 ([#51](#51)) ([8f15779](8f15779)) * **deps:** Bump k8s.io/apimachinery from 0.25.4 to 0.26.0 ([runfinch#115](https://github.com/vsiravar/finch-public/issues/115)) ([e9084a4](e9084a4)) * **deps:** Bump k8s.io/apimachinery from 0.26.0 to 0.26.1 ([runfinch#174](https://github.com/vsiravar/finch-public/issues/174)) ([829b0bc](829b0bc)) * **deps:** bump k8s.io/apimachinery from 0.26.1 to 0.26.2 ([runfinch#251](https://github.com/vsiravar/finch-public/issues/251)) ([4a7268e](4a7268e)) * **deps:** bump k8s.io/apimachinery from 0.26.2 to 0.26.3 ([runfinch#306](https://github.com/vsiravar/finch-public/issues/306)) ([fe392cb](fe392cb)) * **deps:** Bump lima version ([runfinch#141](https://github.com/vsiravar/finch-public/issues/141)) ([35da07d](35da07d)) * **deps:** Bump lima version ([runfinch#302](https://github.com/vsiravar/finch-public/issues/302)) ([0269743](0269743)) * **deps:** Bump lima version ([runfinch#75](https://github.com/vsiravar/finch-public/issues/75)) ([cfaa4f6](cfaa4f6)) * **deps:** Bump submodules ([runfinch#281](https://github.com/vsiravar/finch-public/issues/281)) ([d4fd1f6](d4fd1f6)) * **deps:** Bump submodules ([runfinch#304](https://github.com/vsiravar/finch-public/issues/304)) ([b38af9f](b38af9f)) * make finch-core a submodule instead of downloading archives ([runfinch#188](https://github.com/vsiravar/finch-public/issues/188)) ([b08f588](b08f588)) * update os image versions ([runfinch#255](https://github.com/vsiravar/finch-public/issues/255)) ([576765b](576765b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Issue #, if available:
Fixes #196
Description of changes:
Change finch vm configuration to support rootful containers. Opening a draft PR to get early feedback while investigating lima-vm/lima#1376.
Testing done:
2 e2e tests are failing due to lima-vm/lima#1376.
Additional tests for persistent disk feature to persist volumes and networks after vm is reinitialized
Test for additonal_disk
Retains volumes after vm is restarted
Retains created network after vm is reinitialized
Tests for persisting images, containers, networks and volumes between rootless and rootful.
Test setup
$ finch start --attach test-container
finch