-
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
Che tries to connect to internet to retrieve the stack's image in offline mode. #5021
Comments
@banafshebamdad you'll have to also download the stacks that you are interested in. You can find them listed under the Eclipse organization on DockerHub: https://hub.docker.com/u/eclipse/ If you want to have Che pull images from your local image registry then you'll have to add the private registry to the configuration: https://eclipse.org/che/docs/setup/configuration/index.html#private-images |
Dear @bmicklea |
@eivantsov can you help here? |
It is related to #4197 |
Yes, currently, it is only possible to build images offline, however, when using an image directly, Che first checks the registry and compares to a local image. |
Closing this one. Please follow #4197 |
I've installed Che in offline mode by the following instruction. But when I want to create a new workspace, it tries to connect to internet to retrieve the stack's image and launching it.
docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock eclipse/che:5.8.0 offline
This command downloaded the following files:
alpine:3.4.tar
docker_compose:1.8.1.tar
eclipse_che:5.8.0.tar
eclipse_che-action:5.8.0.tar
eclipse_che-init:5.8.0.tar
eclipse_che-server:5.8.0.tar
docker load < /tmp/offline/eclipse_che:5.8.0.tar
docker run -it --rm -e -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/offline:/data/backup eclipse/che:5.8.0 start --offline
I have run all commands with root user.
Any advice would be greatly appreciated
OS and version:
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
The text was updated successfully, but these errors were encountered: