On 21 Jun 2016, at 15:20, John Mazzitelli wrote:
Is the file system mounted somewhere locally so its easy to read or
tail the logs?
When you start docker with -it argument it will just forward the console
log of the server to stdout. This is of course not enough for
development
inside the server.
Right now, only the data directory is exposed, but that can be changed.
If hawkular-services can be built like this and give me everything:
1. mvn -Pdocker clean install
2. docker run ./target/hawkular-services-docker (or whatever the
command is)
3. ...See the logs on the console and be able to read the log file as
if its on a local mount point...
This mostly works like this in the docker-dist3 directory of my branch.
You do
$ mvn -Pdev install
$ cd docker-dist3
$ mvn docker:build
$ mvn docker:run
I am not saying this is a panacea, but certainly helpful to some
Then that's good enough for me. Of course, that would probably be
more
code to have to maintain, so that's bad :)
Well. That Docker route is getting some traction at the moment, so
it is certainly something we may want to keep going forward.
--
Reg. Adresse: Red Hat GmbH, Technopark II, Haus C,
Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
Handelsregister: Amtsgericht München HRB 153243
Geschäftsführer: Charles Cachera, Michael Cunningham, Michael O'Neill,
Eric Shander