-
Notifications
You must be signed in to change notification settings - Fork 120
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
Unable to run Docker Codenvy, "please rerun CLI" #1538
Comments
Run There was an improvement made over the weekend where we now compare the image digest of the nightly that you have on disk to the one that is pulled from Docker Hub. If they are identical, then the CLI continues. If they are not identical, then this message stops. I am curious as to why your system is thinking that the newly pulled version and the existing one are different digests. I am suspecting that it's because you are on boot2docker. I'd need to access your system to diagnose it specifically. But it's not a big issue - just append |
@gc-alexlong - I just tested the new CLI improvements on Mac, Windows 10, and Linux - they were all ok. I am wondering if being on VirtualBox with Boot2Docker is causing the odd behavior and why the digest detection is not working. Is there a chance that you have a lot of images on your Docker system and perhaps they are now interfering with them? Can you "docker rmi -f $(docker images -q)" on your system to wipe out all existing Docker images and then rerun? This will make sure that you are starting afresh. |
@TylerJewell Here is output from Containers: 10 I used the command you just mentioned, removing the images, and that solved the warning messages. Thanks! |
While trying to troubleshoot another issue for Codenvy, a warning eventually appeared:
WARN: Your 'nightly' image is over 24 hours old - checking for a newer image...
And then after Docker pulled the image, another warning appeared:
WARN: Pulled new 'nightly' image - please rerun CLI
Reproduction Steps:
data
folder created by codenvy/cli to start from scratch.docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v $HOME/dockerprojects/codenvy/data:/data codenvy/cli:nightly start
Codenvy version: 5.1.0-SNAPSHOT
OS and version: 10.11.6 (El Capitan)
Docker version: 1.12.6
Codenvy cli.log output:
Fri Jan 13 22:44:56 UTC 2017
INFO: (codenvy cli): Checking network... (hint: '--fast' skips version, network, and nightly checks)
/usr/bin/curl "-I -k dockerhub.com -s -o /dev/null --write-out %{http_code}"
INFO: (codenvy cli): Loading cli...
DEBUG: docker_run
DEBUG: is_boot2docker
WARN: Your 'nightly' image is over 24 hours old - checking for a newer image...
DEBUG: update_image
INFO: (codenvy download): Pulling image codenvy/cli:nightly
docker pull codenvy/cli:nightly >> "/data/cli.log" 2>&1
WARN: Pulled new 'nightly' image - please rerun CLI
Fri Jan 13 22:45:21 UTC 2017
INFO: (codenvy cli): Checking network... (hint: '--fast' skips version, network, and nightly checks)
/usr/bin/curl "-I -k dockerhub.com -s -o /dev/null --write-out %{http_code}"
INFO: (codenvy cli): Loading cli...
DEBUG: docker_run
DEBUG: is_boot2docker
WARN: Your 'nightly' image is over 24 hours old - checking for a newer image...
DEBUG: update_image
INFO: (codenvy download): Pulling image codenvy/cli:nightly
docker pull codenvy/cli:nightly >> "/data/cli.log" 2>&1
WARN: Pulled new 'nightly' image - please rerun CLI
Fri Jan 13 22:45:33 UTC 2017
INFO: (codenvy cli): Checking network... (hint: '--fast' skips version, network, and nightly checks)
/usr/bin/curl "-I -k dockerhub.com -s -o /dev/null --write-out %{http_code}"
INFO: (codenvy cli): Loading cli...
DEBUG: docker_run
DEBUG: is_boot2docker
WARN: Your 'nightly' image is over 24 hours old - checking for a newer image...
DEBUG: update_image
INFO: (codenvy download): Pulling image codenvy/cli:nightly
docker pull codenvy/cli:nightly >> "/data/cli.log" 2>&1
WARN: Pulled new 'nightly' image - please rerun CLI
Fri Jan 13 22:47:19 UTC 2017
INFO: (codenvy cli): Checking network... (hint: '--fast' skips version, network, and nightly checks)
/usr/bin/curl "-I -k dockerhub.com -s -o /dev/null --write-out %{http_code}"
INFO: (codenvy cli): Loading cli...
DEBUG: docker_run
DEBUG: is_boot2docker
WARN: Your 'nightly' image is over 24 hours old - checking for a newer image...
DEBUG: update_image
INFO: (codenvy download): Pulling image codenvy/cli:nightly
docker pull codenvy/cli:nightly >> "/data/cli.log" 2>&1
WARN: Pulled new 'nightly' image - please rerun CLI
Fri Jan 13 22:47:44 UTC 2017
INFO: (codenvy cli): Checking network... (hint: '--fast' skips version, network, and nightly checks)
/usr/bin/curl "-I -k dockerhub.com -s -o /dev/null --write-out %{http_code}"
INFO: (codenvy cli): Loading cli...
DEBUG: docker_run
DEBUG: is_boot2docker
WARN: Your 'nightly' image is over 24 hours old - checking for a newer image...
DEBUG: update_image
INFO: (codenvy download): Pulling image codenvy/cli:nightly
docker pull codenvy/cli:nightly >> "/data/cli.log" 2>&1
WARN: Pulled new 'nightly' image - please rerun CLI
Mon Jan 16 16:46:28 UTC 2017
INFO: (codenvy cli): Checking network... (hint: '--fast' skips version, network, and nightly checks)
/usr/bin/curl "-I -k dockerhub.com -s -o /dev/null --write-out %{http_code}"
INFO: (codenvy cli): Loading cli...
DEBUG: docker_run
DEBUG: is_boot2docker
WARN: Your 'nightly' image is over 24 hours old - checking for a newer image...
DEBUG: update_image
INFO: (codenvy download): Pulling image codenvy/cli:nightly
docker pull codenvy/cli:nightly >> "/data/cli.log" 2>&1
WARN: Pulled new 'nightly' image - please rerun CLI
The text was updated successfully, but these errors were encountered: