title: How can I mount a second disk to a Docker container?
body: <p>I have a Docker container on Ubuntu.  This container uses a PCIe drive and I want to add a SATA drive.  Neither drive should share data with other containers.</p>
  
  <p>How can I do this?</p>
  
  <p>From the command <code>docker run</code>?
  Or through the Dockerfile?</p>
  
  <p>Here's the lsblk on the server:</p>
  
  <pre><code># lsblk
  NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
  sda           8:0    0 744.7G  0 disk
  |-sda1        8:1    0   243M  0 part /boot
  |-sda2        8:2    0     1K  0 part
  |-sda5        8:5    0   976M  0 part
  `-sda6        8:6    0 743.5G  0 part /
  nvme0n1     259:0    0 349.3G  0 disk
  `-nvme0n1p1 259:2    0 349.3G  0 part /media/pcie-disk
  </code></pre>
  
  <p>Here's the lsblk on the Docker container:</p>
  
  <pre><code># lsblk
  NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
  sda           8:0    0 744.7G  0 disk
  |-sda1        8:1    0   243M  0 part
  |-sda2        8:2    0     1K  0 part
  |-sda5        8:5    0   976M  0 part
  `-sda6        8:6    0 743.5G  0 part
  nvme0n1     259:0    0 349.3G  0 disk
  `-nvme0n1p1 259:2    0 349.3G  0 part /etc/hosts
  </code></pre>