I initially used the IDE extention to create a multi-container project with a few different subprojects using different templates. Is there an extention-way of adding a new subproject so it is integrated into the nice flow of the multi-container tasks or is this a bit of a manual process once the initial workspace is created?
Hi, I’m the Toradex AI Assistant.
I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.
Hello!
Based on the available documentation, the Torizon IDE Extension supports multi-container projects as mentioned in the feature overview (1), which states that “Multiple container projects are now possible allowing multi-container (experimental) solutions to be developed and debugged in parallel more easily.”
However, the specific documentation I have access to primarily covers single-container project creation (2)(3) and doesn’t provide detailed instructions for adding new subprojects to existing multi-container workspaces through the extension interface.
The documentation shows how to create new projects using the “New Torizon Project” button in the Explorer (2), but this appears to be for creating entirely new projects rather than adding subprojects to existing multi-container workspaces.
For adding packages, libraries, and tools to existing projects, the documentation covers modifications to Dockerfiles and task configurations (4), but doesn’t specifically address adding new subprojects with different templates to an existing multi-container setup.
Since the multi-container functionality is noted as experimental (1), the process for adding new subprojects may indeed require manual configuration of the workspace files, Docker Compose files, and VS Code tasks to integrate properly with the existing multi-container workflow.
I don’t have sufficient information in the available sources to provide the specific steps for adding subprojects through the extension interface. You might need to manually configure the additional containers and integrate them into your existing Docker Compose and task setup.
Best regards, Toradex AI Assistant.
Hi @DaveM
I know that the multi-container stuff in the prerelease version of the extension has been cleaned up and streamlined. It may work better for you and we are in the process of figuring out how that should work. I suggest you take a look at that and if you have specific questions and/or feedback please do let us know.
HI @drew.tx
I grabbed the prerelease and went in for a new project. I added a cppConsole and blank docker subproject, hit create, and got the error below:
[08-15 13:41:18.783] No workspace opened
[08-15 13:44:19.411] Creating application console1 based on template cppConsole
[08-15 13:44:20.653] ERROR :: Error trying to create project
[08-15 13:44:20.654] ERROR :: There were issues during the creation of the projects
An apollox log popped into the main view also:
Data:e[0m
Template Folder: /home/dmoore/.apollox/cppConsolee[0m
Project Name: console1e[0m
Container Name: console1e[0m
New Project Path: console1/console1e[0m
Template: /home/dmoore/multiteste[0m
Is VS Code: Falsee[0m
Send Telemetry: Truee[0m
Has Custom Fields: Falsee[0m
e[31m
Error: Template ‘/home/dmoore/multitest’ not found in templates.jsone[0m
e[31mError cause: Not found
e[0m
Yes, I had named the project “multitest”.
Anyhow, i’ll keep playing around with it, but thought I’d dump that on you before the day was up.
btw, it did the same when just trying to use a single subproject. Here is the rest of that startup text from the terminal (version info stuff for u).
[08-15 13:40:59.353] Activating Torizon IDE …
[08-15 13:40:59.353] Torizon IDE version :: 3.1.113
[08-15 13:40:59.714] Latest Torizon IDE published :: 3.1.113
[08-15 13:40:59.714] Telemetry is enabled
[08-15 13:40:59.714] Extension collects completely anonymous telemetry data about templates usage. Participation in this anonymous program is optional, and you may opt-out if you’d not like to share any information. Check: Settings - Data Collection | Toradex Developer Center[08-15 13:40:59.714] Telemetry allows us to accurately gauge templates usage. This data will help us to focus better on the most used templates, adding new features and putting effort in the right place.
[08-15 13:40:59.714] Resolving host IP address …
[08-15 13:41:01.207] Host IP address OK
[08-15 13:41:01.207] Bash as default shell OK
[08-15 13:41:01.213] Docker installed OK
[08-15 13:41:01.282] Docker running OK
[08-15 13:41:01.382] Docker compose OK
[08-15 13:41:01.387] PowerShell OK
[08-15 13:41:01.392] git OK
[08-15 13:41:01.398] dig OK
[08-15 13:41:01.403] avahi-resolve OK
[08-15 13:41:01.407] nmap OK
[08-15 13:41:01.414] iputils-ping OK
[08-15 13:41:01.420] file OK
[08-15 13:41:01.426] sshpass OK
[08-15 13:41:01.447] iproute2 OK
[08-15 13:41:01.452] rsync OK
[08-15 13:41:01.457] python3 OK
[08-15 13:41:01.463] pipx OK
[08-15 13:41:01.464] Cloning project templates
[08-15 13:41:01.464] Templates repo: GitHub - torizon/vscode-torizon-templates: VS Code Torizon Integrated Development Environment Templates
[08-15 13:41:01.464] Templates branch: bookworm-7
[08-15 13:41:01.464] Templates tag/hash: tos7
[08-15 13:41:01.472] Project templates clone of branch bookworm-7 OK
[08-15 13:41:16.924] Project templates fetched OK
[08-15 13:41:16.935] Checkout templates repo to tag origin/bookworm-7 OK
[08-15 13:41:17.917] xonsh installation OK
[08-15 13:41:17.918] Checking connected devices …
[08-15 13:41:17.919] Scanning Torizon devices …
[08-15 13:41:17.925] Debian bookworm packages list load OK
[08-15 13:41:17.926] Torizon IDE extension activated
[08-15 13:41:18.04] Checking host ip sanity …
[08-15 13:41:18.778] Host ip is OK
[08-15 13:41:18.783] Device 10.1.10.55 set as Docker Host
[08-15 13:41:18.783] No workspace opened
[08-15 13:44:19.411] Creating application console1 based on template cppConsole
[08-15 13:44:20.653] ERROR :: Error trying to create project
[08-15 13:44:20.654] ERROR :: There were issues during the creation of the projects
Hi Dave,
Sadly, I cannot reproduce this. Are you on Windows or Linux? Is there anything in the OUTPUT, TERMINAL or DEBUG CONSOLE tabs that might tell us more?
Drew
On windows. I had pasted that stuff above…guess the interesting line from the apollox log was:
Error: Template ‘/home/dmoore/multitest’ not found in templates.json
I don’t know when that directory would be created during the process and then added to that templates.json file? Guess it craps out before all of that can happen?
along with the other terminal:
[08-15 13:41:18.783] No workspace opened
Seems a little odd…guess it couldn’t create the workspace yet too?
That is strange. I assume /home/dmoore/multitest is the path you selected when you created the workspace. Why it would look for that in templates.json I have no clue.
that was the name of the workspace I used on the first screen. I then add a workspace project and it looks like this:
After hitting “Create Project” the “Output” tab has:
[08-18 10:33:05.225] Creating application pytest3 based on template python3Console
[08-18 10:33:06.430] ERROR :: Error trying to create project
[08-18 10:33:06.430] ERROR :: There were issues during the creation of the projects
And the .apollox.cmd.log pops up and shows:
Data:
Template Folder: /home/dmoore/.apollox/python3Console
Project Name: test3
Container Name: pytest3
New Project Path: pytest3/test3
Template: /home/dmoore
Is VS Code: False
Send Telemetry: True
Has Custom Fields: False
Error: Template ‘/home/dmoore’ not found in templates.json
Error cause: Not found
A “test3” directory never gets created off /home/dmoore (that’s the WSL directory) where other projects get created. This is all using the pre-release, things worked before the pre-release changeover.
Ok. Thanks for the details. Can you try again using the dev branch of the templates? Details here.
I think it was already set:
{
“typescript.updateImportsOnFileMove.enabled”: “always”,
“workbench.editor.enablePreview”: true,
“files.simpleDialog.enable”: true,
“window.newWindowDimensions”: “maximized”,
“terminal.integrated.tabs.enabled”: false,
“window.zoomLevel”: 0,
“extensions.autoCheckUpdates”: false,
“extensions.autoUpdate”: false,
“torizon.telemetry”: false,
“torizon.experimental”: true,
“torizon.gpuPrefixRC”: true,
“torizon.templatesRepo”: “GitHub - torizon/vscode-torizon-templates: VS Code Torizon Integrated Development Environment Templates”,
“torizon.templatesBranch”: “dev”,
“torizon.templatesTag”: “next”
}
Should the templatesTag be dev instead of next?
Yes, please try that in case it helps.
No difference…
could you please report the output of the following command:
git -C $HOME/.apollox log
After that please, remove this folder:
rm -rf $HOME/.apollox
Close and open the VS Code, this will start a fresh repo clone. Check if this fix the issue. Let me know.
If this not works, please report the output of the command and also the logs from initialization of the extension please.
First few bits of git log before rm:
commit 215588ac0bca068f20fc32db001993d6f4794634 (HEAD -> bookworm-7, tag: v3.1.1, origin/bookworm-7)
Merge: e9f9a0f 7fdd13b
Author: Matheus Castello <matheus.castello@toradex.com>
Date: Tue Jul 8 13:20:25 2025 -0300
Merge pull request #339 from torizon/dev
commit 7fdd13b429b5a8ff0ff3241f7f413af6555027fc
Author: Matheus Castello <matheus.castello@toradex.com>
Date: Tue Jul 8 09:53:08 2025 -0300
launch: From feedback revert the engine logging in launch.json files
This really does not make sense to have it enabled by default. It
generates a lot of output in the terminal and it is not useful
for most users. It is better to have it disabled by default and
enable it only when needed for debugging GDB purposes.
Signed-off-by: Matheus Castello <matheus.castello@toradex.com>
commit 22b0e4e4302873c03c80cee8f0c427e561e7844a
Author: Matheus Castello <matheus@castello.eng.br>
Date: Wed Jul 2 14:15:00 2025 -0300
Revert "all: Workaround for the issue https://github.com/microsoft/vscode/issues/248550"
This reverts commit 53fcdc085325d265583661e1a881d8fb1383c2bf.
commit 4b0f5f57da55ea27eaabbaf62f5ce7e9c215bd33
Merge: 748e8bf 589e876
Author: Matheus Castello <matheus.castello@toradex.com>
Date: Wed Jul 2 14:09:43 2025 -0300
Merge pull request #333 from guilhermelsousatoradex/tie-1032
I then removed, verified gone, closed VSC, reopened, tried to create new project with same (bad) results. The git log from that .apollox directory is now:
🐧 dmoore @Desktop-21~: git -C $HOME/.apollox log
commit 215588ac0bca068f20fc32db001993d6f4794634 (HEAD -> bookworm-7, tag: v3.1.1, origin/bookworm-7)
Merge: e9f9a0f 7fdd13b
Author: Matheus Castello <matheus.castello@toradex.com>
Date: Tue Jul 8 13:20:25 2025 -0300
Merge pull request #339 from torizon/dev
commit 7fdd13b429b5a8ff0ff3241f7f413af6555027fc
Author: Matheus Castello <matheus.castello@toradex.com>
Date: Tue Jul 8 09:53:08 2025 -0300
launch: From feedback revert the engine logging in launch.json files
This really does not make sense to have it enabled by default. It
generates a lot of output in the terminal and it is not useful
for most users. It is better to have it disabled by default and
enable it only when needed for debugging GDB purposes.
Signed-off-by: Matheus Castello <matheus.castello@toradex.com>
commit 22b0e4e4302873c03c80cee8f0c427e561e7844a
Author: Matheus Castello <matheus@castello.eng.br>
Date: Wed Jul 2 14:15:00 2025 -0300
Revert "all: Workaround for the issue https://github.com/microsoft/vscode/issues/248550"
This reverts commit 53fcdc085325d265583661e1a881d8fb1383c2bf.
commit 4b0f5f57da55ea27eaabbaf62f5ce7e9c215bd33
Merge: 748e8bf 589e876
Author: Matheus Castello <matheus.castello@toradex.com>
Date: Wed Jul 2 14:09:43 2025 -0300
Merge pull request #333 from guilhermelsousatoradex/tie-1032
commit 589e876968ed4de9510335fc0a7fd53deb519fe3
Author: guilherme.sousa7 <guilherme.sousa@toradex.com>
Date: Mon Jun 16 14:48:03 2025 -0300
vscode: Dockerfile: fix Dockerfiles that were checking fo incorrect IMAGE_ARCH value
related-to: TIE-1032
So seems to point to the same spot.
Here’s the output during startup:
[08-18 13:45:18.873] Activating Torizon IDE ...
[08-18 13:45:18.873] Torizon IDE version :: 3.1.113
[08-18 13:45:19.404] Latest Torizon IDE published :: 3.1.113
[08-18 13:45:19.405] Telemetry is enabled
[08-18 13:45:19.405] Extension collects completely anonymous telemetry data about templates usage. Participation in this anonymous program is optional, and you may opt-out if you'd not like to share any information. Check: https://developer.toradex.com/torizon/application-development/ide-extension/reference-documentation/data-collection/#how-to-opt-in-or-out
[08-18 13:45:19.405] Telemetry allows us to accurately gauge templates usage. This data will help us to focus better on the most used templates, adding new features and putting effort in the right place.
[08-18 13:45:19.405] Resolving host IP address ...
[08-18 13:45:20.864] Host IP address OK
[08-18 13:45:20.864] Bash as default shell OK
[08-18 13:45:20.870] Docker installed OK
[08-18 13:45:21.020] Docker running OK
[08-18 13:45:21.291] Docker compose OK
[08-18 13:45:21.297] PowerShell OK
[08-18 13:45:21.302] git OK
[08-18 13:45:21.307] dig OK
[08-18 13:45:21.311] avahi-resolve OK
[08-18 13:45:21.316] nmap OK
[08-18 13:45:21.321] iputils-ping OK
[08-18 13:45:21.325] file OK
[08-18 13:45:21.330] sshpass OK
[08-18 13:45:21.351] iproute2 OK
[08-18 13:45:21.356] rsync OK
[08-18 13:45:21.361] python3 OK
[08-18 13:45:21.366] pipx OK
[08-18 13:45:21.366] Cloning project templates
[08-18 13:45:21.366] Templates repo: https://github.com/torizon/vscode-torizon-templates.git
[08-18 13:45:21.367] Templates branch: bookworm-7
[08-18 13:45:21.367] Templates tag/hash: tos7
[08-18 13:45:21.382] Project templates clone of branch bookworm-7 OK
[08-18 13:45:36.915] Project templates fetched OK
[08-18 13:45:37.094] Checkout templates repo to tag origin/bookworm-7 OK
[08-18 13:45:38.473] xonsh installation OK
[08-18 13:45:38.474] Checking connected devices ...
[08-18 13:45:38.474] Scanning Torizon devices ...
[08-18 13:45:38.481] Debian bookworm packages list load OK
[08-18 13:45:38.482] Torizon IDE extension activated
[08-18 13:45:38.598] Checking host ip sanity ...
[08-18 13:45:41.070] Host ip is OK
[08-18 13:45:41.083] Device 10.1.10.55 set as Docker Host
[08-18 13:45:41.084] No workspace opened
Don’t know why it’s pulling from:
[08-18 13:45:21.367] Templates tag/hash: tos7
thanks for the data. So, from the logs you can see that the templates is coming from stable instead of the dev.
From here Settings - Using Templates Development Branch | Toradex Developer Center you can see that there is an warning:
You are probably editing settings.json from Windows side instead of the one from WSL side.
Should I be looking somewhere else?
🐧 dmoore @Desktop-21~/.vscode-server/extensions/toradex.apollox-vscode-3.1.113-linux-x64: cat settings.wsl.json
{
"extensions.autoCheckUpdates": false,
"extensions.autoUpdate": false,
"torizon.telemetry": false,
"torizon.experimental": true,
"torizon.gpuPrefixRC": true,
"torizon.templatesRepo": "https://github.com/torizon/vscode-torizon-templates.git",
"torizon.templatesBranch": "dev",
"torizon.templatesTag": "dev"
}
🐧 dmoore @Desktop-21~/.vscode-server/extensions/toradex.apollox-vscode-3.1.113-linux-x64: cat settings.json
{
"typescript.updateImportsOnFileMove.enabled": "always",
"workbench.editor.enablePreview": true,
"files.simpleDialog.enable": true,
"window.newWindowDimensions": "maximized",
"terminal.integrated.tabs.enabled": false,
"window.zoomLevel": 0,
"extensions.autoCheckUpdates": false,
"extensions.autoUpdate": false,
"torizon.telemetry": false,
"torizon.experimental": true,
"torizon.gpuPrefixRC": true,
"torizon.templatesRepo": "https://github.com/torizon/vscode-torizon-templates.git",
"torizon.templatesBranch": "dev",
"torizon.templatesTag": "dev"
}
Okay…found the right settings file. Sure are a lot of them…
Here’s the output log:
[08-19 07:39:38.172] Torizon IDE version :: 3.1.113
[08-19 07:39:38.663] Latest Torizon IDE published :: 3.1.113
[08-19 07:39:38.663] Telemetry is enabled
[08-19 07:39:38.663] Extension collects completely anonymous telemetry data about templates usage. Participation in this anonymous program is optional, and you may opt-out if you'd not like to share any information. Check: https://developer.toradex.com/torizon/application-development/ide-extension/reference-documentation/data-collection/#how-to-opt-in-or-out
[08-19 07:39:38.664] Telemetry allows us to accurately gauge templates usage. This data will help us to focus better on the most used templates, adding new features and putting effort in the right place.
[08-19 07:39:38.664] Resolving host IP address ...
[08-19 07:39:40.232] Host IP address OK
[08-19 07:39:40.233] Bash as default shell OK
[08-19 07:39:40.239] Docker installed OK
[08-19 07:39:40.291] Docker running OK
[08-19 07:39:40.374] Docker compose OK
[08-19 07:39:40.379] PowerShell OK
[08-19 07:39:40.384] git OK
[08-19 07:39:40.389] dig OK
[08-19 07:39:40.394] avahi-resolve OK
[08-19 07:39:40.398] nmap OK
[08-19 07:39:40.403] iputils-ping OK
[08-19 07:39:40.408] file OK
[08-19 07:39:40.413] sshpass OK
[08-19 07:39:40.431] iproute2 OK
[08-19 07:39:40.436] rsync OK
[08-19 07:39:40.442] python3 OK
[08-19 07:39:40.447] pipx OK
[08-19 07:39:40.447] Cloning project templates
[08-19 07:39:40.448] Templates repo: https://github.com/torizon/vscode-torizon-templates.git
[08-19 07:39:40.448] Templates branch: dev
[08-19 07:39:40.448] Templates tag/hash: dev
[08-19 07:39:40.448] Templates properties has been changed, cleaning up .apollox
[08-19 07:39:57.102] Project templates clone of branch dev OK
[08-19 07:39:57.190] Checkout templates repo to tag origin/dev OK
[08-19 07:39:58.251] xonsh installation OK
[08-19 07:39:58.252] Checking connected devices ...
[08-19 07:39:58.253] Scanning Torizon devices ...
[08-19 07:39:58.260] Debian bookworm packages list load OK
[08-19 07:39:58.261] Torizon IDE extension activated
[08-19 07:39:58.298] Checking host ip sanity ...
[08-19 07:40:00.735] Host ip is OK
[08-19 07:40:00.783] Device 10.1.10.55 set as Docker Host
[08-19 07:40:00.783] No workspace opened
And, project creation was successful!
I’ll let you know if I encounter any other interesting stuff.
Thanks!
Nice. Thanks for letting us know.



