-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Docker Che launcher doesn't show progress on pull of new che-server image #1942
Comments
I noticed this last night with a friends image. Can this be improved? I am not sure this is a bug. The system is not hanging, just running slowly with no output. |
I didn't say that this is a bug. It works, just not as verbose as can be. |
@garagatyi @l0rd - I need some help on this one. I did a test. In this shell file, I am able to see all of hte output as expected from docker pull. However, the same exact syntax in the che-launcher script does not have the same output. The difference, I suppose is that the che-launcher script is running inside of a container, and the script I ran below was native on the host. Any ideas?
|
Can you explain why you need that script? I think that docker pull behaves in the same way, so no need to add sleep and kill -0. |
It should work if you add |
@l0rd - that did it. Adding "-t" to the docker run syntax fixed the issue. So question is now - is this just a documentation issue for how people should use the product (always pass -t option), or is there a way to programmatically inject this from the launcher? |
You can try prefixing with TERM=xterm: TERM=xterm docker pull codenvy/che-server:nightly & |
Tried that - it didn't work. Kept the same behavior. |
Added a capability in the Che CLI to override whether the -it parameter is provided. |
Docker Che launcher hangs until image is pulled on update. It shows nothing so it seems that it hangs. But in few minutes (depending on network) it shows that image is pulled.
On slow network user might think that it doesn't work.
Che version: 4.6.0-Snapshot
OS and version: Ubuntu 14.04
Docker version: 1.11.2
Che install: Docker container
The text was updated successfully, but these errors were encountered: