Skip to main content

Customizing Docker compatibility - Experimental feature

With Podman Desktop, you can customize the Docker compatibility feature. If you want to run your Docker applications on a Podman engine, you can enable the feature.

The binding between the Podman machine and the system socket is not known. So, Podman Desktop displays only the server information on the Docker Compatibility page.

system socket details on Windows

Enable Docker compatibility

Prerequisites

Procedure

  • Perform one of the following steps:

    • Go to Settings > Experimental, and click the toggle button.
    • Go to Settings > Preferences > Experimental (Docker Compatibility), and click the toggle button.

    A Docker Compatibility section is added to the list of Settings.

Verification

Perform any of the following steps:

  • Run the following command to check the output returns the Podman version rather than the Docker version:

    $ docker info --format=json | jq -r .ServerVersion
  • Run the docker context list command to check that the Docker CLI context is set to the default value npipe:////./pipe/docker_engine.

Disable Docker compatibility

Prerequisites

Procedure

  • Perform one of the following steps:

    • Go to Settings > Experimental, and click the toggle button.
    • Go to Settings > Preferences > Experimental (Docker Compatibility), and click the toggle button.

    The Docker Compatibility section is removed from the list of Settings.

Verification

  • Run the following command to check the output returns the Docker version rather than the Podman version:

    $ docker info --format=json | jq -r .ServerVersion

Additional resources