Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Fwd: [StackOverflow] Unable to run local docker image

Thanks Dave.

I posted a response. Should we perhaps flag Docker support as deprecated? There are very few ppl left who actually remember or know how Che docker CLI works. 

On Sun, Mar 24, 2019 at 12:45 AM Dave Neary <dneary@xxxxxxxxxx> wrote:
Hi all,

This StackOverflow question just came in,and I think it might point to some clarification we need to make, and maybe a docs update around how to build and run a custom assembly. I have no idea how to answer it, unfortunately.

Can anyone share (on StackOverflow) how you build and run Che for your own Dev environments?

Thanks,
Dave.

----- Forwarded Message -----
From: dneary@xxxxxxxxxx
To: dneary@xxxxxxxxxx
Sent: Sat, 23 Mar 2019 16:18:16 -0400 (EDT)
Subject: [StackOverflow] Unable to run local docker image


I'm unable to run the eclipse/che local image. i.e., from the eclipse/che source code in my pc.

Here are the steps that i tried:

Clone the eclipse/che src code into //d/checmd3/che.

git clone https://github.com/eclipse/che.git &amp; git checkout tags/7.0.0-beta-2.0

Build it cd assembly/assembly-main mvn clean install

...A new assembly is placed in:

cd che/assembly/assembly-main/target/eclipse-che-/eclipse-che-

Run it in docker

docker run -it --rm -v //var/run/docker.sock://var/run/docker.sock -v //d/checmd3/che/assembly/assembly-main/target/eclipse-che-7.0.0-beta-2.0/eclipse-che-7.0.0-beta-2.0 :/che -e CHE_ASSEMBLY=//d/checmd3/che/assembly/assembly-main/target/eclipse-che-7.0.0-beta-2.0/eclipse-che-7.0.0-beta-2.0 -v //d/checmd3/che/tmp:/data eclipse/che start

After step #3 above, the following message was shown: Unable to find image 'eclipse/che:7.0.0-beta-2.0' locally 7.0.0-beta-2.0: Pulling from eclipse/che

I believe that docker is not trying to run the image from my local pc ? I'm not sure if step #3 above is the issue or not. Please help me in running the image from the src code cloned in my pc. (reference : https://github.com/eclipse/che/wiki/Development-Workflow)

Unable to run local docker image
>From https://ift.tt/2ToovGZ
via Newest questions tagged eclipse-che - Stack Overflow https://ift.tt/2VkqGfR

_______________________________________________
che-dev mailing list
che-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/che-dev


--

EUGENE IVANTSOV

Red Hat 

eivantsov@xxxxxxxxxx   


Back to the top