che-server/dockerfiles/dir
Roman Iuvshin 44703c8616 RELEASE: set tags for release (#3796) 2017-01-18 17:58:03 +02:00
..
Dockerfile RELEASE: set tags for release (#3796) 2017-01-18 17:58:03 +02: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 Minor dockerfiles build fixes 2017-01-04 10:13:51 +01: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