Setup docker in imx6ull

I am new bie in yocto/OE
I am using imx6ull Aster Carrier board tdx-reference-multimedia-image(OS)
i was trying to access QT GUI Application remotely via this link from host PC but i am unable to do.
In that link there are some docker command which is not executable in my OS. help me with this i want to access GUI urgently and also help me with Docker
(i am unable to run docker commands)

Hi, I’m the Toradex AI Assistant. I’m in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


To set up Docker on your iMX6ULL with the Aster Carrier Board running the tdx-reference-multimedia-image, and to access a QT GUI application remotely, you’ll need to follow a few steps. Since the tdx-reference-multimedia-image is designed for multimedia applications, it might not have Docker pre-installed, which is why you’re encountering issues with Docker commands.

Installing Docker on Torizon

  1. Update Your System: Ensure your system packages are up to date. Although you’re using a Yocto-based image, the process to install Docker would typically involve adding Docker to your Yocto build or installing it manually if your system supports it. Since direct installation instructions vary and might not be applicable for your specific Yocto image, consider rebuilding your image with Docker included for Torizon.

  2. Rebuilding the Image with Docker Support: For Torizon, Docker support is integral, and Torizon images come with Docker pre-installed. If you’re not strictly tied to the tdx-reference-multimedia-image for your application, switching to a TorizonCore image might be the most straightforward solution. TorizonCore is an easy-to-use industrial Linux OS that comes with Docker pre-installed, making it suitable for running containerized applications.

  3. Accessing QT GUI Applications Remotely: Once Docker is running, you can use it to containerize your QT application. For remote access, you might consider using technologies like VNC or a web-based solution like QtWebEngine. You would need to set up a Docker container that runs your QT application and exposes it via VNC or a web server. The Dockerfile for your application should install all necessary dependencies for your QT application and the chosen remote access technology.

  4. Example Dockerfile Steps:

    • FROM: Start with a base image that supports ARM architecture, like arm32v7/ubuntu.
    • RUN: Install dependencies, including QT libraries and your chosen VNC/web server.
    • COPY: Add your application code to the container.
    • CMD: Start your application, ensuring it’s configured to use the VNC server or web server for display output.
  5. Cross-Compiling for ARM: Since your development machine likely uses an x86/x64 architecture, ensure Docker is set up for cross-compilation. This involves using the --platform flag with Docker build commands to specify the target architecture (e.g., `docker build --platform linux/arm/v7 -t your

Please, also check if these links can help you solve your problem:

Partner Demo Container - TotalCross | Toradex Developer Center.

Greetings @Prial,

That link you are referencing is assuming you have Torizon OS installed on the Colibri i.MX6ULL: Torizon OS Technical Overview | Toradex Developer Center

Please note that Torizon OS is only supported for the eMMC variant of the Colibri i.MX6ULL.

This image comes with various extra tools including Docker. The image you installed is a reference image that expects you to use Yocto. If you want to use Yocto then that’s fine, but articles for Torizon OS are not applicable to this Yocto workflow.

Best Regards,