# Run docker image for GStD

Source: [https://docs.qualcomm.com/doc/80-70020-50/topic/container-use-cases-for-video-encode-and-ai-pipelines.html](https://docs.qualcomm.com/doc/80-70020-50/topic/container-use-cases-for-video-encode-and-ai-pipelines.html)

Install GStD in the existing Qualcomm IM SDK container, and then perform port mapping
        to enable the client to communicate with GStD from the host and from within the
        container.

## Prerequisites

1. [Build a Qualcomm IM SDK Docker image](https://docs.qualcomm.com/doc/80-70020-50/topic/build-and-run-qualcomm-im-sdk-docker-image.html).
2. [Load and run the Docker image](https://docs.qualcomm.com/doc/80-70020-50/topic/load-and-run-docker.html).

## Procedure

Run the Qualcomm IM SDK docker image using either of the following options:

- Docker run commands:
    1. In a target device shell, run the following docker
                            scripts:

            sed -i 's/--user qimsdk/--user root -p 5001:5001/g' /opt/docker/docker_run_qcs6490.shCopy to clipboard

            sh /opt/docker/docker_run_qcs6490.shCopy to clipboard

            docker ps -aCopy to clipboard

            docker exec -it <qimsdk-docker-image-name> bashCopy to clipboard
    2. In the docker shell, configure and enable the
                                display:

            export XDG_RUNTIME_DIR=/dev/socket/weston && export WAYLAND_DISPLAY=wayland-1Copy to clipboard

        Run
                                GStD in the
                            background:

            gstd-1.0 -a 0.0.0.0 -p 5001Copy to clipboard

To run several docker containers in different consoles, see [Use Docker compose commands (optional)](https://docs.qualcomm.com/doc/80-70020-50/topic/container-use-cases-for-camera.html#container-use-cases-for-camera__section_v1c_n3y_w2c).

**Parent Topic:** [Deploy Qualcomm IM SDK as a container](https://docs.qualcomm.com/doc/80-70020-50/topic/application-deployment-within-container-api-gstd.html)

Last Published: Jan 30, 2026

[Previous Topic
Run camera use cases within a QIM container](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/container-use-cases-camera.md) [Next Topic
GStreamer command-line use cases](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/gstreamer-application-use-cases.md)