These docker images let you run vert.x 3 application in docker images. For details on: the web site
The image is intended to be used by extension using the Docker FROM directive. Here is an example:
FROM vertx/vertx3
# Set the location of the verticles
ENV VERTICLE_HOME /usr/verticles
# Set the name of the verticle to deploy
ENV VERTICLE_NAME io.vertx.example.HelloWorldVerticle
# Set vertx option
ENV VERTX_OPTIONS ""
###
# The rest of the file should be fine.
###
COPY ./verticles $VERTICLE_HOME
# We use the "sh -c" to turn around https://github.com/docker/docker/issues/5509 - variable not expanded
ENTRYPOINT ["sh", "-c"]
CMD ["vertx run $VERTICLE_NAME -cp $VERTICLE_HOME/* $VERTX_OPTIONS"]
The resulting image is not made to be launched directly (as it contains only vert.x and no applications). If you still want to launch it uses:
docker run -i -t vertx/vertx3
The vert.x files are located in /usr/local/vert.x-VERSION/.
You can access the vertx command directly using:
docker run -i -t vertx/vertx3 vertx
Content type
Image
Digest
Size
301.2 MB
Last updated
about 5 years ago
docker pull vertx/vertx3