Commit Graph
18 Commits
Author SHA1 Message Date
Abiola Ibrahim 92ef3cea63 core: add support for COLIMA_PROFILE environment variable. (#1353)
Signed-off-by: Abiola Ibrahim <git@abiosoft.com>
2025-07-31 21:39:52 +01:00
Abiola Ibrahim 7f50dcdc71 cli: add update command
Signed-off-by: Abiola Ibrahim <git@abiosoft.com>
2024-10-29 17:59:22 +01:00
Abiola Ibrahim e6edc4d0cb chore: handle edge cases for restart command (#605)
* chore: misc refactor for restart command

* cli: restart: handle error for uncreated instances
2023-02-02 06:43:28 +01:00
Randy Fay 88390f54bc cli: add --version flag (#549) 2022-12-29 05:56:47 +01:00
Abiola Ibrahim acb4cd0796 Add --layer flag for Ubuntu container layer (#281)
* core: add ubuntu layer

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* core: layer: preserve home dir

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* core: layer: preserve chroot exec dir

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* core: layer: combine chroot scripts into one

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* net: fix interface gateway

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* core: layer: more fixes

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* core: layer: refactor and rename

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* chore: refactor logger

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* volume: revert default mount type to sshfs

* log: enable trace level log

* ci: add layer to integration test
2022-05-13 05:34:59 +01:00
Abiola Ibrahim c42a673589 multiple fixes pre 0.4.0 (#251)
* misc: general refactor

* docker: reduce deamon file error to warning

* core: breaking change! change folder structure

* dns: more fixes

* net: make vmnet optional

* net: limit vmnet to macOS

* net: fix flag check for non-macOS

* ci: fix go version

* ci: fix golang ci

* ci: fix lint error

* ci: increase delay for kubernetes integration test

* k8s: fix flannel route when slirp is enabled

* k3s: enable traefik

* ci: fix lint error

* k3s: fix intermitent kubeconfig issue

* misc: support config folder structure of v <0.4.0

* misc: fix regression, improve log messages

* net: replace launchagent with daemon library

* ci: fix lint error

* ci: change macos version for runner

* ci: attempt macos 12 github runner

* ci: revert macos version for github runner

* net: fix vmnet directory bug

* docs: update readme

* cli: add docker socket path to status

* net: improve vmnet process management

* chore: move embedded file

* checkpoint: config file support

* chore: use global cache directory

* core: add iso with 9p mount support

* core: add support for 9p mounts

* conf: update default config

* core: add config file support

* k3s: configurable version

* k3s: fix bug due to configuration version

* k3s: make ingress (traefik) configurable

* net: ignore network check on non-macOS at shutdown

* chore: code refactor

* ci: fix failed build

* chore: fix false negative error message

* ci: add more tests

* chore: improve error output for commands

* k3s: fix regression due to file transfer method

* cli: do not truncate outputs

* cli: improve list output

* core: add support for docker config, mount type

* cli: add --edit flag to start

* chore: use temp file for startup edit

* cli: new template command for default settings

* net: delay during vmnet process termination

* ci: fix lint error

* net: refactor vmnet daemon, remove symlink hack

* net: improve vmnet daemon shutdown

* net: add gvproxy as additional network option

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* net: fix gvproxy for multiple instances

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* net: fix regression due to gvproxy

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* net: disable network address by default

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* chore: fix lint error

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* cli: rename network-gateway to network-driver

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* chore: prompt before restarting on config edit

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* k8s: fix broken kubeconfig after network address toggle

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* core: update iso image

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* ci: add cross-architecture to integration test

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* docs: update readme

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* chore: ignore already running instances for `start` command

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* chore: handle code and siblings when specified in `colima start --edit --editor`

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* docs: update README.md

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* chore: handle input validation for mount type

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* net: make gvproxy the default driver

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* docs: update readme

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* chore: fix minor typo in template

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>
2022-05-03 18:10:16 +01:00
Abiola Ibrahim f944599fea add ptp based network (#227)
* build: add vmnet script

* chore: minor refactors and fixes

* net: begin ptp network

* net: embed vmnet

* chore: remove obsolete dry-run command

* net: vmnet support checkpoint

* net: vmnet works

* net: add ip address to colima list

* net: make network instance dynamic

* net: fix embedded archives

* net: ptp network works

* net: route fixed, general refactor

* misc: minor refactor

* cli: enable force stop

* cli: add json to colima list

* k8s: bind to VM ip address

* fix lint
2022-03-19 16:39:09 +01:00
Abiola Ibrahim 316ba9c29a cli: ux improvements (#207)
* cli: accept profile name as arg for some commands

* cli: remove obsolete --port-interface flag

* vm: delegate port allocation to Lima

* cli: add ssh-config

* ssh-config: remove 'lima-' prefix from hostname
2022-03-07 07:07:39 +01:00
Abiola Ibrahim d99e306af1 switch distro to alpine, prepare for v0.3.0 (#76)
* core: begin switching to Alpine

Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>

* core: embedded binaries checkpoint

* core: embedded binaries checkpoint

* core: add new features

ssh: support ssh agent forwarding
cli: add --list flag to list instances
distro: migrate fully to alpine

* core: general updates

deps: update nerdctl and k3s versions
lima: support LIMA_HOME env var

* core: make binary embed optional

* chore: cleanups

* chore: cleanups

* chore: update readme and build instructions

* ci: update workflow and builds

* nerdctl: add profile to alias script

* chore: remove redundant import

* ci: fixed ci build
2021-12-03 11:24:09 +01:00
Abiola IbrahimandLukas 422e9f1ef8 feat(logging): enable verbose logging (#47)
* feat: verbose output (#31)

* feat: verbose writer

* refactor: pass verbose flag to app in New() Function

* chore(logging): enable verbose logging

Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>

* chore(logging): filter redundant info from log

Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>

* chore(logging): minor refactor

Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>

Co-authored-by: Lukas <57864392+hown3d@users.noreply.github.com>
2021-10-27 19:45:36 +01:00
Abiola Ibrahim 3ab8415d30 feat(profiles): multiple instances support with --profile flag (#41)
* feat(profiles): begin implementation of supporting multiple profiles.

Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>

* feat(profiles): multiple instances support with --profile flag

Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>

* feat(profiles): update readme

Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>

* feat(profiles): update readme

Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-10-26 13:03:39 +01:00
Abiola Ibrahim 1f8f46de50 log: nitpick refactors
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-10-10 22:05:07 +01:00
Abiola Ibrahim 1836d1f890 log: improved logging and download progress bar
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-10-10 10:57:55 +01:00
Abiola Ibrahim 899d8c9e5b log: add verbose flag
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-10-09 21:12:15 +01:00
Abiola Ibrahim 4f978eccab log: nit picks
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-10-09 20:51:07 +01:00
Abiola Ibrahim 608bf73133 log: use logger library
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-10-09 19:51:52 +01:00
Abiola Ibrahim 85adc4b3fa development: use unique names for non-default profile directory
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-10-08 21:43:07 +01:00
Abiola Ibrahim a89c1c9aef refactor: move root command to own package
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-10-08 20:31:03 +01:00