For my machine on Task Manager it shows Virtualisation is Disabled. However, Hyper-V Support is indicated as “Yes”. Is there any hope for me to install it without upgrading my Windows to Pro (which I won’t). Thanks for helping me learn Docker. Step 3: Install Docker on RHEL 7 Server / Desktop. We can now Install Docker on RHEL 7 by running the commands below. Sudo yum install -y docker device-mapper-libs device-mapper-event-libs sudo systemctl enable -now docker.service. Confirm service status.

  1. Docker CE and EE are an evolution of the Docker Platform designed to meet the needs of developers, ops and enterprise IT teams. No matter the operating system or cloud infrastructure, Docker CE and EE lets you install, upgrade, and maintain Docker with the support and assurances required for your particular workload. Here are additional resources.
  2. I’ve always been wondering how Docker works in this regards, and whether I should either make as many “RUN apt-get install” commands as possible, or if I should instead try to use as few RUN commands as possible, as these increases the number of layers (?). So for example: RUN apt-get update && apt-get install -y python-qt4 python-pyside python-pip python3-pip python3.

I admit it, I was not a friend of Oracle databases running in Docker containers for a long time. My database systems for testing and demo purposes were all running in VMware, Virtual Box or in the Oracle Cloud. But I have used the Windows Subsystem for Linux since beginning, to work with the Oracle Oracle Cloud Infrastructure CLI, Git Integration etc. And what I really like is the WSL extension for Visual Studio Code which gives me to chance, to edit Ansible Vault files in Windows without any additional Linux based VM running.

With the update of the existing Windows Subsystem for Linux (WSL) architecture to version 2, the Docker Desktop for Windows is now fully integrated and able to run Docker container in WSL as a lightweight VM. Now it’s time to change my mind, why not use Docker to try out new Oracle features, do some development stuff and more?

What to we need to run Oracle databases in WSL 2 Docker Containers?

  1. WSL 2
  2. Docker Desktop for Windows
  3. Docker images with an Oracle Database – I may use the images (oehrlis/docker) from my workmate Stefan Oehrli ( merci vöumou

This blog post shows you how to setup WSL 2 to run Docker images. Sure, you can use the Oracle provided Docker images or self created images too. But I have verified the Oracle repository today, the Dockerfile version is 19.3.0. And I don’t have the passion, to create new Dockerfiles for example to run 19.8 and download additional RU software.

Installing Windows Subsystem 2 for Linux

Enable Windows Subsystem for Linux basic Functionality

Start Windows PowerShell as Administrator and enable WSL.


Restart the Windows machine. Now wsl.exe is available as command in Power Shell.

Set WSL 2 as default when installing Linux distributions from Microsoft Store like Ubuntu and SLES.

Getting Windows 10 ready for Docker


Install Docker Desktop for Windows

Run the Docker Desktop Installer executable. Let the checkboxes activated.

Two minutes later.

Start Docker and verify the Availability

After starting the Docker Desktop, you get a notification that Docker is starting. Docker is recognising that WSL is installed.

Docker is now ready to use.

Open a new PowerShell as Administrator and verify if docker and docker-compose are available.

Install Git


We use Git to checkout the Oracle docker containers later. There are several Git clients for Windows available. I use the one from Just run the executable. After the successful installation, verify Git availability in PowerShell.

Go for the Oracle Database

Startup the Oracle Docker Image

Before cloning of the Git repository, I created a new directory in my Workplace folder.

Docker install oracle 12c

Clone Docker Image Repository

The content of my cloned directory Oracle Database

We use Docker Compose here, this makes it very easy to handle networking stuff like port forwarding. Example content of the docker-compose.yml file. In this case, I have not configured the Docker Volume Base, the files for the container are created in a subfolder of the clone directory.


After pulling, let’s start the container with docker-compose.

In the background, the database will be created and configured – example output in Docker Desktop.

SQL Developer Connect

Verify in the Shell if the Oracle database and the listener are running – example output from the Trivadis Toolbox component TVD-Basenv.


The integration of Docker in Windows Subsystem for Linux is fast and easy to configure. I like the idea to run a lightweight VM inside my existing WSL. In future, before I think about to start a VMware or Virtual Box VM to do some Oracle testing stuff, I will verify if there is Docker image available. And I will definitely spend more time to discover the possibilities of Docker 🙂

Related Posts

Estimated reading time: 4 minutes

Docker Enterprise Edition for Windows Server 2016 (Docker EE) enables nativeDocker containers on Windows Server 2016. The Docker EE installation packageincludes everything you need to run Docker on Windows Server 2016.This topic describes pre-install considerations, and how to download andinstall Docker EE.

Looking for Release Notes?Get release notes for allversions here or subscribe to thereleases feed on the Docker Blog.

Docker Universal Control Plane and Windows

With Docker EE, your Windows nodes can join swarms that are managedby Docker Universal Control Plane (UCP). When you have Docker EE installedon Windows Server 2016 and you have aUCP manager node provisioned, you can join your Windows worker nodes to a swarm.

Docker Install Oracle Command

Install Docker EE

Docker EE for Windows requires Windows Server 2016. SeeWhat to know before you install for afull list of prerequisites.

  1. Open a PowerShell command prompt, and type the following commands.

  2. Test your Docker EE installation by running the hello-world container.

(optional) Make sure you have all required updates

Docker Install Oracle Database

Some advanced Docker features (like Swarm) require that Windows is updated to include the fixes in KB4015217 (or a later cumulative patch).

Select option 6) Download and Install Updates.

Use a script to install Docker EE

Use the following steps when you want to install manually, script automatedinstalls, or install on air-gapped systems.

  1. In a PowerShell command prompt, download the installer archive on a machinethat has a connection.

  2. Copy the zip file to the machine where you want to install Docker. In aPowerShell command prompt, use the following commands to extract the archive,register, and start the Docker service.

  3. Test your Docker EE installation by running the hello-world container.

Install a specific version

To install a specific Docker version, you can use the MaximumVersion and MinimumVersion flags. For example:

Update Docker EE

To update Docker EE on Windows Server 2016:

What to know before you install

  • What the Docker EE for Windows install includes: The installationprovides Docker Engine and theDocker CLI client.

About Docker EE containers and Windows Server 2016

Looking for information on using Docker EE containers?

  • Getting Started with Windows Containers (Lab)provides a tutorial on how to set up and run Windows containers on Windows 10or Windows Server 2016. It shows you how to use a MusicStore application withWindows containers.

  • Setup - Windows Server 2016 (Lab)describes environment setup in detail.

  • Docker Container Platform for Windows Server 2016 articles and blogposts on the Docker website.

Where to go next

  • Getting started provides an overview ofDocker for Windows, basic Docker command examples, how to get help or givefeedback, and links to all topics in the Docker for Windows guide.

  • FAQs provides answers to frequently askedquestions.

  • Release Notes lists componentupdates, new features, and improvements associated with Stable and Edgereleases.

  • Learn Docker provides general Docker tutorials.

  • Windows Containers on Windows Serveris the official Microsoft documentation.

Windows, Windows Server, install, download, ucp, Docker EE
Coments are closed
Scroll to top