This project builds a Docker image. It does not build by default, you must activate it with the docker
profile (see below). This project releases to docker hub kaazing/gateway
Docker must be installed and the docker
command must be working from the terminal where you run mvn
.
To release you must have push rights to the kaazing docker hub organization. You must also be logged in on docker. To log in run the command docker login
.
If you don't have privileges, you can still build this project.
To build a Docker container locally, specify the docker
profile:
mvn clean install -Pdocker
You can launch a container using the docker image produced by this build by following these steps:
-
Add
gateway
to your/etc/hosts
, pointing to the IP address of your Docker host:192.168.99.100 gateway
-
Run the Docker container:
docker run --rm -p 8000:8000 -h gateway kaazing/gateway:develop-SNAPSHOT
0. Using a browser, open `http://gateway:8000` to see the welcome page.