Installing kali linux image with podman
1.
Install podman using yum
#yum install podman
To check version of the installed
podman you can use “-v” or “--version”
# podman -v
(or)
#podman --version
To check if any container running
use below command
# podman ps -a
We can also check same with podman
container ls and to show already downloaded images podman image ls.
# podman container ls
#podman image ls
# podman search kali-rolling
To download image from the repository.
# podman pull kali-rolling
To see if the image is downloaded.
# podman image ls
# podman run –tty –interactive kali-rolling
This command will connect to the tty terminal of the kali linux container. From this bash you can execute all kali linux commands.
To exit from the terminal you can
give exit at the bash prompt.
Once exited container also will
be stopped. To start the container we can use below command.
# podman start container_name
To login to the container you can
use podman attach command as below,
# podman attach container_name