Developing 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.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.