Softwr

Developer Tools · head to head

GitHub Codespaces vs Oracle VirtualBox

GitHub Codespaces logo

GitHub Codespaces

Developer Tools

Cloud hosted development environments configured by dev container files

From
Free
Free plan
Yes
Oracle VirtualBox logo

Oracle VirtualBox

Developer Tools

Free open-source hypervisor for Windows, Linux and macOS from Oracle

From
Free
Free plan
Yes

The short version

  • Oracle VirtualBox is free; GitHub Codespaces starts at $0.09/mo.
  • Only GitHub Codespaces lists dev container based configuration; only Oracle VirtualBox lists open-source base package.
  • Where GitHub Codespaces falls short: cannot be self hosted, according to GitHub.
  • Where Oracle VirtualBox falls short: the Extension Pack is not free for commercial use, so a business that depends on USB passthrough or remote display can face a licensing bill.

How do GitHub Codespaces and Oracle VirtualBox differ?

GitHub Codespaces and Oracle VirtualBox differ on pricing model and platforms. Only the attributes on which GitHub Codespaces and Oracle VirtualBox actually diverge.

Attributes where GitHub Codespaces and Oracle VirtualBox differ
AttributeGitHub CodespacesOracle VirtualBox
Pricing modelUsage-basedOpen source, no licence fee
PlatformsWeb, Windows, macOS, LinuxWindows, macOS, Linux

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: category for Oracle VirtualBox.

Which features does each one have?

They share no listed features; 8 appear only for GitHub Codespaces and 6 only for Oracle VirtualBox. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in GitHub Codespaces

  • Dev container based configuration
  • Launch from repository, pull request, commit or template
  • Machines from 2 to 32 cores
  • Browser based editor
  • Connect from Visual Studio Code or IntelliJ
  • JetBrains IDEs and JupyterLab support in beta
  • Organisation access and spending controls
  • Monthly free allowance for personal accounts

Only in Oracle VirtualBox

  • Open-source base package
  • Cross-platform host
  • Arm support
  • Extension Pack
  • Frequent maintenance releases
  • Community and Oracle backing

What is each one used for?

GitHub Codespaces is most often brought in for onboarding contributors without local setup; Oracle VirtualBox for running a Linux test environment on a Windows laptop at no cost. The jobs each tool is most often brought in to do.

GitHub Codespaces

  • Onboarding contributors without local setupnot Oracle VirtualBox
  • Fixing bugs from an open pull requestnot Oracle VirtualBox
  • Consistent environments across a teamnot Oracle VirtualBox
  • Coding from a tablet or any browsernot Oracle VirtualBox
  • Teaching with preconfigured environmentsnot Oracle VirtualBox

Oracle VirtualBox

  • Running a Linux test environment on a Windows laptop at no costnot GitHub Codespaces
  • Teaching a class with identical free virtual machines on every student machinenot GitHub Codespaces
  • Trying an operating system image without touching the host installnot GitHub Codespaces
  • Building throwaway development environments driven by Vagrantnot GitHub Codespaces

Where do GitHub Codespaces and Oracle VirtualBox fall short?

GitHub Codespaces's most cited limit: cannot be self hosted, according to GitHub. Oracle VirtualBox's: support is community-based for most users, so a business has no guaranteed response unless it buys a commercial licence. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

GitHub Codespaces

  • Cannot be self hosted, according to GitHub
  • Requires an internet connection and works with GitHub repositories
  • Usage billing grows with machine size, since included compute is weighted by core count
  • Organisation use needs admin enablement before developers can create codespaces

Oracle VirtualBox

  • The Extension Pack is not free for commercial use, so a business that depends on USB passthrough or remote display can face a licensing bill
  • Arm host support only arrived in 7.1 on macOS and 7.2 on Windows, so Apple Silicon users get a younger product than paid rivals
  • Desktop integration and graphics performance trail commercial tools such as Parallels Desktop for running everyday Windows apps
  • Support is community-based for most users, so a business has no guaranteed response unless it buys a commercial licence
  • It is a hypervisor only; there is no central management console for fleets of host machines

How much do GitHub Codespaces and Oracle VirtualBox cost?

GitHub Codespaces has a free plan, with paid plans from $0.09/mo; Oracle VirtualBox is free to use. Plan by plan below, from each vendor's own pricing page.

GitHub Codespaces

Free
  • Compute$0.09/core hour
  • Storage$0.07/gb month

Oracle VirtualBox

Free
  • VirtualBox base packageFree
    • GPLv3 licence
    • Free for personal and commercial use
  • Extension PackOn request
    • Free for personal and educational use only
    • Commercial use needs a paid licence; price not published on the pages reviewed

Which should you pick?

Choose GitHub Codespaces if

  • You need dev container based configuration.
  • You want to start without paying.
  • You work on Web, Windows, macOS, Linux.
  • You also want launch from repository, pull request, commit or template.

Choose Oracle VirtualBox if

  • You need open-source base package.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want cross-platform host.

Questions people ask

Is GitHub Codespaces or Oracle VirtualBox better?
It depends on the job. GitHub Codespaces fits onboarding contributors without local setup; Oracle VirtualBox fits running a Linux test environment on a Windows laptop at no cost. GitHub Codespaces starts at Free and Oracle VirtualBox at Free.
Which is cheaper, GitHub Codespaces or Oracle VirtualBox?
GitHub Codespaces starts at Free and Oracle VirtualBox at Free.
Does GitHub Codespaces or Oracle VirtualBox run on more platforms?
GitHub Codespaces runs on Web, Windows, macOS, Linux. Oracle VirtualBox runs on Windows, macOS, Linux.
Can I use GitHub Codespaces for free?
Both have a free tier, so you can try either at no cost before committing.
What is GitHub Codespaces best used for?
GitHub Codespaces is most often used for onboarding contributors without local setup, fixing bugs from an open pull request, consistent environments across a team, coding from a tablet or any browser. Of those, onboarding contributors without local setup and fixing bugs from an open pull request are not what Oracle VirtualBox is typically brought in for.
What can GitHub Codespaces do that Oracle VirtualBox cannot?
GitHub Codespaces covers Dev container based configuration, Launch from repository, pull request, commit or template, Machines from 2 to 32 cores, Browser based editor. Oracle VirtualBox covers Open-source base package, Cross-platform host, Arm support, Extension Pack.

Answered from the vendors’ own pages

GitHub Codespaces: How much does GitHub Codespaces cost?

GitHub's billing documentation lists compute at 0.09 dollars per core hour and storage at 0.07 dollars per GB month. A 2 core machine therefore costs 0.18 dollars per hour.

Source
Oracle VirtualBox: Is VirtualBox free for business?

The base package is GPLv3 and free for any use. The Extension Pack is free only for personal and educational use.

GitHub Codespaces: Is there a free allowance?

Yes. Personal GitHub Free accounts include 120 compute hours and 15 GB month of storage, and GitHub Pro includes 180 compute hours and 20 GB month. Included compute is weighted by core count.

Source
Oracle VirtualBox: Does it run on Apple Silicon?

Version 7.1 added macOS on Arm hosts.

GitHub Codespaces: Which editors can I use?

Codespaces can be used in the browser or connected from Visual Studio Code or IntelliJ. JetBrains IDEs and JupyterLab are listed as beta.

Source
Oracle VirtualBox: Does it run on Windows on Arm?

Version 7.2 added Windows on Arm.

GitHub Codespaces: Can Codespaces be self hosted?

No. GitHub states that Codespaces cannot be self hosted.

Source
Oracle VirtualBox: Who makes it?

It is a community effort backed by Oracle.

Share

Related pages

Other head to heads