che-server/dockerfiles/che-file
Oleksii Orel 81d42a63f4 CHE-2002: increase ssh connection timeout
Signed-off-by: Oleksii Orel <oorel@codenvy.com>
2016-08-09 19:46:32 +03:00
..
src CHE-2002: increase ssh connection timeout 2016-08-09 19:46:32 +03:00
Dockerfile Continue work on #1895 2016-08-04 08:40:17 +02:00
README.md Continue work on #1895 2016-08-04 08:40:17 +02:00
build-docker-image.sh Continue work on #1895 2016-08-04 08:40:17 +02:00

README.md

Creating an Eclipse Che instance from a local directory

Build Docker container

$ build-docker-image.sh

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 codenvy/che-file \
           $PWD <init|up>

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