sergio_educacionit

docker lvm html

Jun 6th, 2026
75
0
Never
3
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.58 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="es">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>LVM y Docker</title>
  7. <style>
  8. * {
  9. margin: 0;
  10. padding: 0;
  11. box-sizing: border-box;
  12. }
  13.  
  14. body {
  15. font-family: Arial, Helvetica, sans-serif;
  16. background: #f4f6f9;
  17. color: #333;
  18. line-height: 1.6;
  19. }
  20.  
  21. .container {
  22. max-width: 1000px;
  23. margin: 40px auto;
  24. padding: 20px;
  25. }
  26.  
  27. .hero {
  28. background: linear-gradient(135deg, #2563eb, #1e40af);
  29. color: white;
  30. padding: 40px;
  31. border-radius: 12px;
  32. margin-bottom: 30px;
  33. box-shadow: 0 10px 30px rgba(0,0,0,.15);
  34. }
  35.  
  36. .hero h1 {
  37. font-size: 2.5rem;
  38. margin-bottom: 10px;
  39. }
  40.  
  41. .card {
  42. background: white;
  43. padding: 25px;
  44. border-radius: 12px;
  45. margin-bottom: 20px;
  46. box-shadow: 0 2px 10px rgba(0,0,0,.08);
  47. }
  48.  
  49. h2 {
  50. color: #1e40af;
  51. margin-bottom: 15px;
  52. }
  53.  
  54. code {
  55. background: #eef2ff;
  56. padding: 2px 6px;
  57. border-radius: 4px;
  58. color: #1e40af;
  59. }
  60.  
  61. pre {
  62. background: #1e293b;
  63. color: #f8fafc;
  64. padding: 15px;
  65. border-radius: 8px;
  66. overflow-x: auto;
  67. margin-top: 10px;
  68. }
  69.  
  70. .flow {
  71. display: flex;
  72. gap: 15px;
  73. flex-wrap: wrap;
  74. margin-top: 20px;
  75. }
  76.  
  77. .step {
  78. flex: 1;
  79. min-width: 180px;
  80. background: #eff6ff;
  81. border-left: 5px solid #2563eb;
  82. padding: 15px;
  83. border-radius: 8px;
  84. }
  85.  
  86. .footer {
  87. text-align: center;
  88. margin-top: 40px;
  89. color: #666;
  90. }
  91. </style>
  92. </head>
  93. <body>
  94.  
  95. <div class="container">
  96.  
  97. <div class="hero">
  98. <h1>LVM y Docker</h1>
  99. <p>Uso de un volumen lógico LVM como almacenamiento persistente para contenedores Docker.</p>
  100. </div>
  101.  
  102. <div class="card">
  103. <h2>¿Por qué usar LVM?</h2>
  104. <p>
  105. LVM permite administrar el almacenamiento de forma flexible. Los volúmenes
  106. pueden crecer, reducirse o migrarse entre discos sin modificar la configuración
  107. de las aplicaciones que los utilizan.
  108. </p>
  109. </div>
  110.  
  111. <div class="card">
  112. <h2>Escenario</h2>
  113.  
  114. <p>Se dispone de un volumen lógico formateado con XFS:</p>
  115.  
  116. <pre>/dev/dm-0
  117. UUID=997524ab-af99-4d51-8f45-dd2f4b436d36</pre>
  118.  
  119. <p style="margin-top:15px;">
  120. El volumen se monta mediante systemd en:
  121. </p>
  122.  
  123. <pre>/opt/dockerlvm.app</pre>
  124.  
  125. <p style="margin-top:15px;">
  126. Docker utiliza ese directorio como almacenamiento persistente mediante
  127. un volumen basado en bind mount.
  128. </p>
  129. </div>
  130.  
  131. <div class="card">
  132. <h2>Flujo de almacenamiento</h2>
  133.  
  134. <div class="flow">
  135. <div class="step">
  136. <strong>Disco físico</strong>
  137. </div>
  138.  
  139. <div class="step">
  140. <strong>LVM</strong><br>
  141. Volumen lógico
  142. </div>
  143.  
  144. <div class="step">
  145. <strong>XFS</strong><br>
  146. Sistema de archivos
  147. </div>
  148.  
  149. <div class="step">
  150. <strong>/opt/dockerlvm.app</strong><br>
  151. Punto de montaje
  152. </div>
  153.  
  154. <div class="step">
  155. <strong>Docker Volume</strong><br>
  156. Persistencia
  157. </div>
  158. </div>
  159. </div>
  160.  
  161. <div class="card">
  162. <h2>Creación del volumen Docker</h2>
  163.  
  164. <pre>docker volume create \
  165. --driver local \
  166. --opt type=none \
  167. --opt device=/opt/dockerlvm.app \
  168. --opt o=bind \
  169. dockerlvm_app</pre>
  170.  
  171. <p style="margin-top:15px;">
  172. De esta forma los datos escritos por los contenedores quedan almacenados
  173. en el volumen lógico administrado por LVM.
  174. </p>
  175. </div>
  176.  
  177. <div class="card">
  178. <h2>Ventajas</h2>
  179.  
  180. <ul style="padding-left:20px;">
  181. <li>Separación entre aplicaciones y almacenamiento.</li>
  182. <li>Facilidad para ampliar capacidad mediante LVM.</li>
  183. <li>Persistencia de datos entre reinicios o recreación de contenedores.</li>
  184. <li>Administración centralizada del almacenamiento.</li>
  185. </ul>
  186. </div>
  187.  
  188. <div class="footer">
  189. LVM + Docker = almacenamiento flexible y persistente.
  190. </div>
  191.  
  192. </div>
  193.  
  194. </body>
  195. </html>
Advertisement
Comments
  • User was banned
  • User was banned
  • kidraver
    3 hours
    # CSS 0.83 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://drive.google.com/file/d/1cvQPOZ7JecI0L6lqdIzIHJbHQBiDRT4U/view?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
Add Comment
Please, Sign In to add comment