che-server/dockerfiles/dir
Vitaliy Gulyy 21318aeec8
build.sh become working on Ubuntu / Linux Mint (#12004)
* Use bash instead sh

* Revert .gitignore
2018-11-21 12:37:27 +02:00
..
.require Customize image names during image build (#4336) 2017-03-10 13:41:45 +01:00
Dockerfile Fix remaining files with licenses (#10746) 2018-08-21 10:25:45 +03:00
README.md Move eclipse/che-dockerfiles che-* images to this repository in /dockerfiles folder 2016-12-01 06:10:34 -07:00
build.sh build.sh become working on Ubuntu / Linux Mint (#12004) 2018-11-21 12:37:27 +02:00

README.md

Creating an Eclipse Che instance from a local directory

Build Docker container

$ build.sh  (on Unix)
> build.bat (on Windows)

Run container

Check no docker Eclipse Che container is alive and kill it if any

$ docker ps -a

Clone a folder

$ git clone https://github.com/che-samples/web-java-spring-petclinic

Go into this checkout directory

$ cd web-java-spring-petclinic

Run script

docker run -v /var/run/docker.sock:/var/run/docker.sock \
           -v "$PWD":"$PWD" --rm eclipse/che-file \
           $PWD <init|up>

note: if Eclipse Che is already started, it does not handle yet this state