che-server/dockerfiles/dir
Mykhailo Kuznietsov 69d5148385 Changed copyright owner to "Red Hat, Inc." in license headers (#5964)
Change license header contributor to Red Hat, Inc.
2017-08-11 10:46:58 +03:00
..
.require Customize image names during image build (#4336) 2017-03-10 13:41:45 +01:00
Dockerfile Changed copyright owner to "Red Hat, Inc." in license headers (#5964) 2017-08-11 10:46:58 +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 Changed copyright owner to "Red Hat, Inc." in license headers (#5964) 2017-08-11 10:46:58 +03: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