# Images, volumes and networks

Source: https://laraport.app/docs/server-resources/

> Docker images, volumes and networks of a server with their sizes and the containers using them, image update checks, and prune with the exact command.

`i` on the container list opens the server's images, volumes and networks, in three tabs. Each is a table with the biggest first.

*Screen: The server’s images with sizes and an update check*

| Tab | Shows |
|---|---|
| **Images** | Name, ID, size, unique size, age, and how many containers use it. Untagged images are marked dangling |
| **Volumes** | Name, Compose project, size, how many containers use it, driver |
| **Networks** | Name, ID, driver, scope, attached containers, internal |

## Cleaning up

| Key | Action |
|---|---|
| `D` | Remove the selected item. A tagged image is removed by name, so only that tag goes |
| `P` | Remove the unused items of the tab |
| `A` | Remove every unused image, tagged or not |
| `r` | Reload |

Every removal shows its docker command first. The confirmation says when the item is in use, and that a volume's data is deleted for good. Docker's own networks (`bridge`, `host`, `none`, `ingress`) cannot be removed.

## Image updates

`u` on the Images tab asks each image's registry for the current digest of its tag and compares it with the one the image was pulled with. Nothing is downloaded. The **update** column then says:

- `up to date`;
- `update available`;
- `local build`: built on the server, nothing to compare with;
- `can't check`, with the reason: the registry's rate limit, no access to a private image, or no `docker buildx` on the server. See [Troubleshooting](https://laraport.app/docs/troubleshooting/#image-updates-say-cant-check).

`p` pulls the selected image. Running containers keep the old image until they are recreated, for example by a redeploy in Dokploy or Coolify.

## Server cleanup

`g` on the container list offers the classic commands: `docker system df`, and pruning stopped containers, images, volumes, networks, build cache, or everything. Each shows the exact command and asks first.
