Skip to content
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

using the CLI+KurtosisCloud should not rely on local Docker engine running #1719

Closed
leeederek opened this issue Nov 8, 2023 · 0 comments · Fixed by #1726 or #1727
Closed

using the CLI+KurtosisCloud should not rely on local Docker engine running #1719

leeederek opened this issue Nov 8, 2023 · 0 comments · Fixed by #1726 or #1727
Assignees
Labels
cli For bugs relating to the CLI feature request painful Painful bug

Comments

@leeederek
Copy link
Contributor

Background & motivation

When I am using Kurtosis Cloud and manipulating it via the CLI, I have to have Docker running, otherwise I get an error like this:

➜  ~ clear
➜  ~ kurtosis context set cloud-58dbdc9d12424885a45aafc57444673b
INFO[2023-11-08T10:01:35-05:00] Switching context...
Error:  An error occurred running command 'set'
  Caused by: An error occurred stopping the local engine. The local engineneeds to be stopped before the context can be set. The engine status can be obtained runningkurtosis engine status and it can be stopped manually by running kurtosis engine stop.
  Caused by: An error occurred stopping engines using filters '&{GUIDs:map[] Statuses:map[RUNNING:true]}'
  Caused by: An error occurred stopping engines using filters: &{GUIDs:map[] Statuses:map[RUNNING:true]}
  Caused by: An error occurred getting engines matching filters '&{GUIDs:map[] Statuses:map[RUNNING:true]}'
  Caused by: An error occurred fetching engine containers using labels: map[com.kurtosistech.app-id:kurtosis com.kurtosistech.container-type:kurtosis-engine]
  Caused by: An error occurred getting containers with labels '{fields:map[label:map[com.kurtosistech.app-id=kurtosis:true com.kurtosistech.container-type=kurtosis-engine:true]]}'
  Caused by: An error occurred getting the docker containers with filter args '{fields:map[label:map[com.kurtosistech.app-id=kurtosis:true com.kurtosistech.container-type=kurtosis-engine:true]]}'
  Caused by: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Desired behaviour

I should not have to have the Docker engine running to switch contexts & to use the Cloud from my local machine (CLI).

How important is this to you?

Painful; the lack of this feature makes using Kurtosis frictionful.

What area of the product does this pertain to?

CLI: the Command Line Interface

@github-actions github-actions bot added cli For bugs relating to the CLI painful Painful bug labels Nov 8, 2023
@leoporoli leoporoli self-assigned this Nov 8, 2023
github-merge-queue bot pushed a commit that referenced this issue Nov 9, 2023
…engine running (#1726)

## Description:
fix using the CLI+KurtosisCloud should not rely on the local Docker
engine running

## Is this change user facing?
YES

## References (if applicable):
Fix #1719
github-merge-queue bot pushed a commit that referenced this issue Nov 9, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.85.9](0.85.8...0.85.9)
(2023-11-09)


### Bug Fixes

* using the CLI+KurtosisCloud should not rely on the local Docker engine
running ([#1726](#1726))
([b447196](b447196)),
closes [#1719](#1719)

---
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: kurtosisbot <kurtosisbot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli For bugs relating to the CLI feature request painful Painful bug
Projects
None yet
2 participants