• Empleos
  • Sobre nosotros
  • profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
  • empresas
    • Inicio
    • Publicar vacante
    • Nuestro proceso
    • Precios
    • Pruebas Online
    • Nómina
    • Blog
    • Comercial
    • Calculadora de salario

0

224
Vistas
how to use libfaketime to setting system date

I use docker container to run tomcat.

Now I want to modify system date to use date -s '2012-12-25', but can not have privilege. So I use libfaketime to faketime,as below $LD_PRELOAD=/usr/local/lib/faketime/libfaketime.so.1 FAKETIME="+1d" but only effectively current session.

So what can I do to effective the system date in container? Thanks!!!

almost 3 years ago · Santiago Trujillo
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 Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recomiéndame algunas ofertas
Necesito ayuda