Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

267
Views
No se puede usar el montaje dentro de un contenedor Docker

Estoy tratando de hacer lo siguiente dentro de un contenedor Docker:

 docker run -it <image> bash root$ dd if=/dev/zero of=file.fs bs=1024 count=1024 root$ mkfs.ext4 file.fs root$ mkdir tmp root$ mount -t ext4 file.fs tmp **mount: tmp/: mount failed: Unknown error -1** root$ dmesg dmesg: read kernel buffer failed: Operation not permitted

Los mismos comandos anteriores (con sudo) funcionan bien en mi host.

¿Cómo puedo hacer que el montaje tenga éxito dentro del contenedor Docker?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Si hay un error de permiso, necesita agregar --privileged

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!