# How To - Podman

![podman-logo.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1609286556251/AIQFxilCA.png)

Website: https://podman.io

Podman Documentation: https://podman.readthedocs.io

### Install Podman

```
brew install podman
```

### Verify Installed Podman version

```
podman version
```

### Help

```
podman --help
```

```
podman <subcommand> --help
```

### Search for a Container Image in the Repository

```
podman search centos
```

### Download Image from the Repository

```
podman pull centos:latest
```

### List Downloaded Images

```
podman images
```

### Run Container

```
podman run -it --name my_centos centos:latest
```

### List Running Containers

```
podman ps
```

### List Running & Stopped Containers

```
podman ps -a
```

### Inspect a Running Container

```
podman inspect my_centos
```

### View Container Logs

```
podman logs
```

### Stop a Specified Container

```
podman stop my_centos
```

### Delete a Specified Container

```
podman rm my_centos
```

