How does --container-mode work with clickable desktop?
-
Hi all,
I'm new to Clickable and trying to understand how it interacts with containers.
According to https://clickable-ut.dev/en/latest/commands.html, the
--container-modeis useful for running Clickable from within a container.Here's what I tried:
clickable ciβ opens a root bash shell inside a container.- Inside that container shell, I run:
clickable desktop --container-mode
I expected this to launch my app (a simple Hello World) directly within the current container. Instead, I get the following error:
Container was not initialized with Container Mode.This is confusing because clickable desktop help lists
--container-modeas a supported argument.
My question: what is the intended use of--container-modewith clickable desktop, if it doesn't actually run the app in the current container?Thanks in advance for any clarification!
-
@grgraf I think
container-modeis and option for clickable in general. But it doesn't make much sense to runclickable desktopinside a container created by clickable itself. i.e. that was not an envisioned use case.Container mode is primarily used for building your click inside a ci container on GitHub / GitLab / whatever CI infrastructure you use, if it leverages containers.
-
If I remember correctly, one use case for container mode is to use clickable in Ubuntu Touch. I don't think clickable desktop ever worked there. You just launch the app on your device. I haven't explored clickable much but maybe it'll work if you use Qt Creator which I believe runs inside the container.
-
@kugiigi that's actually where I came from. I tried to start QT Creator with
clickable ide(which starts QT Creator in a container) and then run the app by clicking Run or Debug button in QT Creator. But I didn't manage to configure Run settings for the project to make this work.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login