Install on my windows 10 podman version 3.4.4.
When running in powershell the command
podman -v
I get
podman.exe version 3.4.4
but when i put
podman info
it gives me the error
Cannot connect to Podman. Please verify your connection to the Linux system using
podman system connection list
, or trypodman machine init
andpodman machine start
to manage a new Linux VM Error: unable to connect to Podman socket: Get "http://d/v3.4.4/libpod/_ping": dial unix /// run/podman/podman.sock: connect: An invalid argument was supplied.
Said command I saw that they put it as it is in the course Docker do 0 à Mastery: Demystified Containers + BÔNUS
What can I do to correct the error?
attempts and experiments
podman machine init
Error: unrecognized command
podman.exe machine
Try 'podman.exe --help' for more information.
podman.exe --help
Manage pods, containers and images
Usage: podman.exe [options] [command]
Available Commands: attach Attach to a running container
build Build an image using instructions from Containerfiles
commit Create new image based on the changed container
container Manage containers cp Copy files/folders between a container and the local filesystem create Create but do not start a container diff Display the changes to the object's file system events Show podman events exec Run a process in a running container export Export container's filesystem contents as a tar archive generate Generate structured data based on containers, pods or volumes healthcheck Manage health checks on containers help Help about any command history
Show history of a specified image image Manage images images List images in local storage import Import a tarball to create a filesystem image info Display podman system information
init Initialize one or more containers inspect Display the configuration of object denoted by ID kill Kill one or more running containers with a specific signal load Load image(s) from a tar archive login Login to a container registry logout Logout of a container registry logs
Fetch the logs of one or more containers manifest Manipulate manifest lists and image indexes network Manage networks pause Pause all the processes in one or more containers play Play containers, pods or volumes from a structured file pod
Manage pods port List port mappings or a specific mapping for the container ps List containers pull Pull an image from a registry push Push an image to a specified destination rename Rename an existing container restart
Restart one or more containers rm Remove one or more containers rmi Removes one or more images from local storage run Run a command in a new container save Save image(s) to an archive search Search registry for image
secret Manage secrets start Start one or more containers stats Display a live stream of container resource usage statistics stop Stop one or more containers system
Manage podman tag Add an additional name to a local image
top Display the running processes of a container unpause
Unpause the processes in one or more containers untag Remove a name from a local image version Display the Podman version information volume Manage volumes wait Block on one or more containersOptions: -c, --connection string Connection to use for remote Podman service --help Help for podman --identity string path to SSH identity file, (CONTAINER_SSHKEY) --log-level string Log messages above specified level (trace, debug , info, warn, warning, error, fatal, panic) (default "warn") --storage-opt stringArray Used to pass an option to the storage driver --url string URL to access Podman service (CONTAINER_HOST) (default "unix :/run/podman/podman.sock") -v, --version version for podman.exe
It was a problem with the version of podman, using the version,
4.2.0
although the same error appears, it is possible to continue as follows.Run
It does not matter if your console is not an administrator console, it opens an administrator console after confirming, it installs the missing elements and when you finish, this console appears in which it is going to download an image. At the end of downloading the image, it will ask us to restart.