-
Notifications
You must be signed in to change notification settings - Fork 7
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
neuro image ls
requires Docker on a user machine
#1071
Comments
we are not hiding Docker details in |
We want our users be able to work with a platform without having to deal with Docker anyhow. Getting a list of available environments seems to be a simple and straightforward operation (from the user perspective). For example, one may want to check that a new image was created during 'neuro job save'. Or one may want to checkout the list of environments their college shared with them. And all of a sudden this user needs Docker installed on a local machine. This is just very unexpected. |
Docker is inevitable for now. what you are talking about is not a |
So I think this issue should be moved to the appropriate repo. |
AFAIU, this problem can only be fixed on the client side. I don't get how the template can help one to get a list of available images without Docker. If you have any idea, please, share. |
sorry, but I am not convinced that there's a problem really. |
Now there is a simple rule: |
@asvetlov I understand that there was a technical reason. However, this issue is about usability problem. A user shouldn't care about are technical details. |
It is exactly the usability reason if you want to stress bold. If you insist that only a subset of |
AFAIU, it is not possible to install Docker client automatically when installing a Let me describe a use-case: I got this issue from one of our ML engineers, who did the following:
Now, this scenario may seem too specific, because our customers using the template may be unaware of the fact that So, I suggest tagging this issue as have a minor severity and keeping it for a while, until we have more real-life use-cases. |
same with Python, right? clearly if there are issues with the current approach, the easiest thing we can do now is to communicate it. @mariyadavydova please address this. |
|
@shagren If I run
|
Currently that's true. |
@asvetlov like as it is our fail, in fact |
I'm trying to figure out where did the requirement comes from? |
I consider the experience of a new user, who is working with our template or recipes.
After that a user gets an unexpected error. I don't say that it is not possible to install Docker. But in this scenario which we promote as recommended way to start working with Neuro, there is no explicit appearance of Docker images, so having this requirement is, again, highly unexpected. @asvetlov Is it correct that one can't enforce a system dependency from within a Python package? I.e. we can't automatically install Docker on a local machine while installing neuro? |
It's come from next line: https://github.com/neuromation/platform-client-python/blob/ded65f1cbbcd7f71ce417494b002abf3a2359fd3/neuromation/api/images.py#L33 And why: #385 (comment) (as I remember you asked me to remove lazy property) |
We are working on hiding Docker details from the user (e.g. providing base images), so from the UX point of view it is quite an unexpected behavior.
The text was updated successfully, but these errors were encountered: