Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

345
Vistas
How to save log files from docker container?

I have a weblogic container running on docker-machine( which is running on Windows 7 using docker toolbox) and want to save the logs from the container automatically to the windows machine.

I know that I can use the docker cp command but, instead of coping the logs every time to the windows machine, is there a better way to save the logs from the container to a folder on windows machine?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

See "Docker Logging Strategies", which illustrates different methods.
The recommended one is logging via the Docker Logging Driver.
See more at "Configure logging drivers"

As shown in "Better ways of handling logging in containers", you can then link the log folder with an host folder through a data volume container.

# docker run -ti -v /dev/log:/dev/log fedora sh
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda