Public Repository

Last pushed: 3 months ago
Short Description
Vert.x 3 stack - vertx command
Full Description

Vertx 3 Stack - vertx command

This image provides the vert.x command so you don't have to install vert.x

Launching the image

Just launch:

docker run -i -t vertx/vertx3-exec

Append the vertx command parameter you need.

for instance:

> docker run -i -t vertx/vertx3-exec -version
3.0.0-SNAPSHOT

If you want to run a verticle:

docker run -i -t -p 8080:8080 \ 
    -v $PWD:/verticles vertx/vertx3-exec \  
    run io.vertx.sample.RandomGeneratorVerticle \ 
    -cp /verticles/MY_VERTICLE.jar

This command mounts the current directory into /verticles and then launch the vertx run command. Notice the -cp parameter reusing the /verticles directory.

Docker Pull Command
Owner
vertx

Comments (1)
ck1910
a month ago

Hi, is there anyway to run this Docker image with custom launcher class? By default, it always runs from io.vertx.core.Launcher