It is possible to run Tails in a virtual machine using VirtualBox from a Windows, Linux, or macOS host operating system.

Running Tails inside a virtual machine has various security implications. Depending on the host operating system and your security needs, running Tails in a virtual machine might be dangerous.

VirtualBox 担供免費版, 稱之為VirtualBox 開源版 而某些商用要素,如對 USB 設備 的支援則需付費。

For security reasons, we recommend you to use only the Open Source Edition, though it does not allow use of a Persistent Storage.

Security considerations for Windows and macOS

我們對虛擬器的安全警告 中建議,僅在信任的原機作業系統下運行 Tails 。

Microsoft Windows and macOS being proprietary software, they cannot be considered trustworthy. Only run Tails in a virtual machine on Windows or macOS for testing purposes and do not rely on it for security.


Debian 或 Ubuntu 下安裝 VirtualBox,請執行以下指令:

sudo apt install virtualbox

其它作業系統如何安裝 VirtualBox 的指引,請參考 VirtualBox 文件.

Running Tails from an ISO image

首先啟動 VirtualBox


  1. 選擇 Machine ▸ New....
  2. 出現 Name and operating system 畫面時,請指定:
    • A name of your choice.
    • Type: Linux.
    • Version: Other Linux (64 bit).
    • 點擊 Next.
  3. Memory size 畫面:
    • 至少配置 2048 MB of RAM.
    • 點擊 Next.
  4. Hard drive
    • 選取Do not add a virtual hard drive.
    • 點擊 Create.
    • 在關於無硬碟建立虛擬器 的警告對話框中點擊 Continue

自 ISO 映像檔來啟動虛擬器的設定:

  1. 在左側面板中選擇新的虛擬器。 
  2. Choose Machine ▸ Settings....
  3. 在左側面板中選擇 System
  4. Motherboard 標籤頁的 Extended Features  部份,確認 Enable I/O APIC 已啟動。
  5. Select Storage in the left pane.
  6. 在右側面板中選擇 Storage Tree 區 Contoller IDE 下方的 Empty
  7. 點擊視窗右側的 CD 圖標並選擇 Choose a virtual CD/DVD disk file... 來找到所欲 用來啟動 Tails 的 ISO 映像檔。
  8. 檢查Live CD/DVD 選項。
  9. 點擊 OK


  1. 在左側面板中選擇虛擬器。
  2. 點擊 啟動

VirtualBox Guest Additions has been removed since Tails 4.27. As a result:

  • The shared clipboard feature of VirtualBox is unavailable.

  • The screen resolution of Tails can't be changed by resizing the virtual machine window in the host OS. The screen resolution must be changed from inside Tails.

    To change the screen resolution from inside Tails, choose Applications ▸ System Tools ▸ Settings ▸ Displays ▸ Resolution.

    You might also need to adjust the virtual machine window in the host OS to fit the new screen resolution.

We plan to add back VirtualBox Guest Additions in a future version of Tails. See #18728.