vertx docker: logging on file

Logging

To configure the logging.properties file (that let you customize JUL loggers`), set theVERTX_JUL_CONFIG environment variables:

COPY ./logging.properties $VERTICLE_HOME/                       (1)
ENV VERTX_JUL_CONFIG $VERTICLE_HOME/logging.properties          (2)
  1. Copy your logging.properties file
  2. Set the VERTX_JUL_CONFIG environment variable
(http://vertx.io/docs/vertx-docker/)

docker export and import a docker image

In breve 1) tagghiamo 2) salviamo 3) copiamo su nuovo server 4) docker load:

  1. docker commit 1234567890 imageToExport
  2. docker save imageToExport > /tmp/imageToExport.tar
  3. copy imageToExport.tar file to new server
  4. docker load < /tmp/imageToExport.tar