question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

continuumio/anaconda3

See original GitHub issue

Docker container fails to start with anaconda3 image.

Reproduction Steps:

  1. Be a noob.
  2. Dockerfile https://hub.docker.com/r/continuumio/anaconda3/~/dockerfile/ in runtime recipe
  3. Launch your container

image

Codenvy version: 5.7.1

OS and version: Windows 10 Pro

1st Launch Docker Log

*skip successful package installation*
[DOCKER] [91mPython 3.6.0 :: Continuum Analytics, Inc.

[DOCKER] creating default environment...
[DOCKER] installation finished.
[DOCKER] ---> d2adc3ef93c8
[DOCKER] Removing intermediate container a9cd97cd7c85
[DOCKER] Step 7 : RUN apt-get install -y curl grep sed dpkg && curl https://github.com/krallin/tini/releases/latest | grep -o "/v.*\"" | sed 's:^..\(.*\).$:\1:'` && curl -L "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini_${TINI_VERSION}.deb" > tini.deb && dpkg -i tini.deb && rm tini.deb && get clean
[DOCKER] ---> Running in 49af4a16930a
[DOCKER] [91m/bin/sh: 1: Syntax error: EOF in backquote substitution

[DOCKER] Removing intermediate container 49af4a16930a
[DOCKER] [ERROR] The command '/bin/sh -c apt-get install -y curl grep sed dpkg && curl https://github.com/krallin/tini/releases/latest | grep -o "/v.*\"" | sed 's:^..\(.*\).$:\1:'` && curl -L "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini_${TINI_VERSION}.deb" > tini.deb && dpkg -i tini.deb && rm tini.deb && get clean' returned a non-zero code: 2
[ERROR] Docker image build failed. Image id not found in build output.

2nd Time Docker Log

[DOCKER] Step 1 : FROM debian:8.5
[DOCKER] 8.5: Pulling from library/debian 
[DOCKER] Digest: sha256:2340a704d1f8f9ecb51c24d9cbce9f5ecd301b6b8ea1ca5eaba9edee46a2436d 
[DOCKER] Status: Image is up to date for debian:8.5 
[DOCKER] ---> 031143c1c662
[DOCKER] Step 2 : MAINTAINER Kamil Kwiek 
[DOCKER] ---> Using cache
[DOCKER] ---> de842f9fcfa0
[DOCKER] Step 3 : ENV LANG C.UTF-8
[DOCKER] ---> Using cache
[DOCKER] ---> cb5d3dad70a5
[DOCKER] Step 4 : ENV LC_ALL C.UTF-8
[DOCKER] ---> Using cache
[DOCKER] ---> 616864ce1ff8
[DOCKER] Step 5 : RUN apt-get update --fix-missing && apt-get install -y wget bzip2 ca-certificates libglib2.0-0 libxext6 libsm6 libxrender1 git mercurial subversion
[DOCKER] ---> Using cache
[DOCKER] ---> 55774d273410
[DOCKER] Step 6 : RUN echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh && wget --quiet https://repo.continuum.io/archive/Anaconda3-4.3.1-Linux-x86_64.sh -O ~/anaconda.sh && bash ~/anaconda.sh -b -p /opt/conda && rm ~/anaconda.sh
[DOCKER] ---> Using cache
[DOCKER] ---> d2adc3ef93c8
[DOCKER] Step 7 : RUN apt-get install -y curl grep sed dpkg && curl https://github.com/krallin/tini/releases/latest | grep -o "/v.*\"" | sed 's:^..\(.*\).$:\1:'` && curl -L "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini_${TINI_VERSION}.deb" > tini.deb && dpkg -i tini.deb && rm tini.deb && get clean
[DOCKER] ---> Running in 2ce7478f2cf8
[DOCKER] [91m/bin/sh: 1: Syntax error: EOF in backquote substitution

[DOCKER] Removing intermediate container 2ce7478f2cf8
[DOCKER] [ERROR] The command '/bin/sh -c apt-get install -y curl grep sed dpkg && curl https://github.com/krallin/tini/releases/latest | grep -o "/v.*\"" | sed 's:^..\(.*\).$:\1:'` && curl -L "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini_${TINI_VERSION}.deb" > tini.deb && dpkg -i tini.deb && rm tini.deb && get clean' returned a non-zero code: 2
[ERROR] Docker image build failed. Image id not found in build output.

Works fine on my ubuntu virtualbox:

$ sudo docker pull continuumio/anaconda3
$ sudo docker run -i -t continuumio/anaconda3 /bin/bash

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
ghostcommented, Apr 16, 2017

This is a bug on User Dashboard side - some characters are lost when the UD parses the recipe. It is already being taken care of.

0reactions
ghostcommented, May 24, 2017

Closing the ticket. Please, try the provided solution. Feel free to reopen if you have questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

continuumio/anaconda3 - Docker Image - Docker Hub
Docker container with a bootstrapped installation of Anaconda (based on Python 3.X) that is ready to use. The Anaconda distribution is installed into...
Read more >
anaconda3 - GitHub
No information is available for this page.
Read more >
Creating docker and anaconda - python - Stack Overflow
I have a Dockerfile that has a FROM continuumio/anaconda3 that creates a anaconda3 with python 3.7.4. I can run jupyter commands and process ......
Read more >
Docker — Anaconda documentation
In a terminal window, run this command to display a list of available images: docker search continuumio · Pull the desired image: docker...
Read more >
Vagrant box continuumio/anaconda3 v4.3.0
The image was prepared by Continuum Analytics team and contains powerful and flexible python distribution - Anaconda. Anaconda contains a free collection of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found