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

436
Vistas
¿Cómo instalar tshark en Docker?

Quiero instalar tshark en ubuntu17.04 en Docker para Mac con Dockerfile. estoy usando docker-compose

En apt install tshark , hay un mensaje siguiente.
El aviso detuvo la instalación a pesar de que escribí yes .

¿Cómo instalar tshark en Dockerfile?

 Dumpcap can be installed in a way that allows members of the "wireshark" system group to capture packets. This is recommended over the alternative of running Wireshark/Tshark directly as root, because less of the code will run with elevated privileges. For more detailed information please see /usr/share/doc/wireshark-common/README.Debian. Enabling this feature may be a security risk, so it is disabled by default. If in doubt, it is suggested to leave it disabled. Should non-superusers be able to capture packets? [yes/no] yes
about 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tshark

Se instalará sin necesidad de interacción del usuario.

about 4 years ago · Santiago Trujillo Denunciar

0

Primero, generalmente tiene (para evitar tener que escribir 'sí'):

 RUN apt install -yq xxx

Segundo:

  • puede consultar esta imagen de tshark , que instala dumcap; compilando wireshark, que produjo dumpcap.
  • la alternativa (sin compilación, solo instalación) es esta imagen

El comando de instalación se convierte en este último caso:

 # Install build wireshark, need to run as root RUN apt-get update && \ apt-get install -y wireshark && \ groupadd wireshark && \ usermod -aG wireshark developer && \ setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap && \ chgrp wireshark /usr/bin/dumpcap && \ chmod 750 /usr/bin/dumpcap
about 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