-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Verifying that your tools are using Podman
fixes: #1036 Signed-off-by: Fabrice Flore-Thébault <ffloreth@redhat.com>
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
website/docs/migrating-from-docker/verifying-your-tools-are-using-podman.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
sidebar_position: 5 | ||
title: Verifying your tools are using Podman | ||
description: Verify that your tools are using Podman rather than Docker. | ||
keywords: [podman desktop, podman, containers, migrating, docker] | ||
tags: [migrating-from-docker] | ||
--- | ||
|
||
# Verifying that your tools are using Podman | ||
|
||
When you have configured your host to use Podman rather then Docker, consider verifying your setup works as intended. | ||
|
||
#### Prerequisites | ||
|
||
* Docker service is not installed, or stopped. | ||
* [Saved containers are imported to Podman](importing-saved-containers) | ||
* [The `DOCKER_HOST` environment variable is set](using-the-docker_host-environment-variable) | ||
* [On macOS, the `podman-mac-helper` service is running](using-podman-mac-helper) | ||
* [Podman is emulating Docker CLI](emulating-docker-cli-with-podman) | ||
|
||
#### Procedure | ||
|
||
1. The Docker socket replies successfully: | ||
|
||
```shell-session | ||
$ curl /var/run/docker.sock | ||
``` | ||
|
||
2. Podman commands run successfully when redirected to the Docker socket: | ||
|
||
```shell-session | ||
$ CONTAINER_HOST=/var/run/docker.sock podman ps | ||
``` |