---
title: "Containers"
method: GET
path: "/assets/{asset_id}/alpon/containers"
tags: ["ALPON"]
---

# Containers

`GET /assets/{asset_id}/alpon/containers`

Retrieve all user containers of the ALPON device.

**Possible Error Codes:**
- **AssetNotFound:** The asset with the specified ID was not found.
- **AssetNotAlponDevice:** The device is not an ALPON device.

## Path parameters

- `asset_id` string, required — Serial Number, UUID, SIM SID or SIM ICCID

## Response `200`

Successful Response

- UserContainersResponseModel
  - `containers` UserContainerModel[], required — List of user containers.
    - `name` string, required — Name of the container.
    - `image` string, required — Docker image of the container.
    - `status` string, required — Status of the container.
    - `host_network` boolean, required — Is the container using host network.
    - `privileged` boolean, required — Is the container running in privileged mode.
    - `env` object — Environment variables for the container.
    - `ports` UserContainerPortModel[] — List of ports used by the container.
      - `host_port` integer — The port the container is exposed on
      - `target_port` integer — The port the container is listening on
    - `volumes` UserContainerVolumeModel[] — List of volumes mounted in the container.
      - `local` string — Local volume path.
      - `target` string — Target volume path.
      - `readonly` boolean — Is the volume read-only.

## Other responses

- `400` — Device is not an ALPON device
- `404` — Asset not found
- `422` — Validation Error

---

[API](https://skmtc.net/sixfab/apis/sixfab-developer-api.md) · [All operations](https://skmtc.net/sixfab/apis/sixfab-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sixfab/sixfab-developer-api/revisions/24ad88fd2124/schema)
