- Qt Creator Documentation
- How to
- Developing for devices
- Developing for Docker
- Qt Creator 19.0.0-beta2

Debug remotely with GDB ◦ Add Docker devices

# Developing for Docker

> How to: Develop for Docker

Create Docker devices from Docker images and use them to build, run, and debug applications. A Docker container operates like a virtual machine but uses less system resources at the cost of being less flexible.

While Linux, macOS, and Windows hosts are supported in principle, Linux is the recommended platform.

To build, run, and debug applications on Docker devices, install and configure `docker-cli` on the development host. Qt Creator automatically detects build and run kit items, such as debuggers and Qt versions, in the Docker container and creates kits for the devices.

You are advised to use CMake to build applications in the Docker container.

Note: Enable the Docker plugin to use it.

To pull images from Docker hub or other registries, use the docker pull command.

See also Enable and disable plugins and How to: Develop for Docker.

Debug remotely with GDB ◦ Add Docker devices